Results 1 to 5 of 5
Hi, I'm using one ADSL connection to run two web servers. One is a Linux server and the other one is a Windows server. I have registered my domain in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-06-2012 #1
Hiding Port from URL Redirection
I'm using one ADSL connection to run two web servers. One is a Linux server and the other one is a Windows server.
I have registered my domain in another remote server and by creating subdomains I'm redirecting those sub domain names to my internal servers via ADSL router. For the above purpose I'm using a HTML redirect clause
<meta http-equiv="Refresh" content="0; url=http://xxx.xxx.com:8082/foldername">
- 07-06-2012 #2
- Join Date
- Apr 2012
- 07-06-2012 #3
Theoretically, a proxy configuration in the virtual host section of the apache configuration on the remote server can "hide" the real url.
But -and I mean no disrespect- this setup makes me cringe.
- It is complex. Proxy config, port forwarding, 3 servers and at least 2 networks involved.
- Bughunting will be hard. In case of problems you need to check and correlate the logs of the remote server, your router, proxy/apache/iis config
- Monitoring and availability. dsl may change the IP every X hours. Even with a service like dyndns, there might be downtimes.
- dsl: upload speed ( == download speed for the webuser) is probably very low.
At least for the internal linux server there seems to be a easy solutions:
Host this website on the remote server.
For the windows box: windows servers can of course also be acquired by the usual providers. Point the dns of the subdomain to it, and you are done.You must always face the curtain with a bow.
- 07-06-2012 #4
- 07-07-2012 #5
- Join Date
- May 2006
Why not use virtual hosts? Even ISS can do that. Then you have 2 different domains hosted on the same server.
You can't expect a webserver knows automagicly if you want to reach webhost1 or webhost2.
You are either stuck with virtualhosts or with multiple IP addresses.
/edit didn't read well in the first place.. soz... but still, I would choose to host both domains on the same server and use virtual hosts.