• I have been trying to run 2 websites on the same external IP. I am currently running 2 apache2 instances one on port 80 and the other on port 8080. Everything is working perfectly on port 80 however to get acess to port 8080 while also hiding the IP has proved difficult. I have setteld for the flowing set-up.

    1. A free hostname “officialtjp.redirectme.net” with a port 80 redirect to port 8080 on my external IP. This successfully redirects people to the website however the url bar has the IP and the port info.

    2. Using a sub domain of my main domain I have set up a CNAME record from “web.officialtjp.com” to point to “officialtjp.redirectme.net” in order to hide the IP and port info in the url bar.

    The problem occurs when I try to access my wordpress site via “web.officialtjp.com” I get an error message titled “Offiline Page”. The message says, “The site you have requested is currently unavailable, please try back again later.”. What can I do to make this work or is there an easier way to hide ip and port? Thanks in advance for any and all help.

    Jamie

Viewing 2 replies - 1 through 2 (of 2 total)
  • You only need to run one instance of Apache. You can serve as many websites as you like using virtual host containers and a proper web server configuration; all on port 80, all on one IP address, and no port numbers in the URL’s.

    This is a server configuration and administration issue rather than a WordPress issue.

    “how to” apache virtual host

    Thread Starter JamieS1211

    (@jamies1211)

    There is 2 instances because there is 2 server boxes, should have mentioned that. Also thanks for putting me straight on the issue and giving me the material to read up on. Much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘"Offline Page" error when using cname’ is closed to new replies.