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
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 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
since two web servers are running I cannot allocate port 80 for both servers. One server I'm using port 8082 as the web server port. But I need to hide it from browser's URL display. Is this possible. Any method please?<meta http-equiv="Refresh" content="0; url=http://xxx.xxx.com:8082/foldername">
Thanks !
- 07-06-2012 #2Linux Newbie
- Join Date
- Apr 2012
- Posts
- 112
do you mean that you want to hide the port number from the URL display?
http://mywindowsserver instead of http://mywindowsservr:8082
- 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
yes the URL http://mywindowsserver only not with the port
- 07-07-2012 #5Just Joined!
- Join Date
- May 2006
- Posts
- 36
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.


Reply With Quote

