Sign in with
Sign up | Sign in
Your question
Solved

How to run two websites on the same connection

Last response: in Networking
Share
June 30, 2012 6:13:53 AM

Hey everyone!

I currently have one home WWW server running on port 80 which is obviously the HTTP port. If I wanted to run another web server on the same connection, how would I do this? Is it possible? Obviously, I can't port forward the same port for more than one IP. Any explanations would be greatly useful! :D 

Thanx!!

Best solution

June 30, 2012 4:57:59 PM

The fundamental problem is that you can’t associate/map the same port # used by multiple internal IPs, to a single external public IP. It’s just not possible. OTOH, nothing prevents you from acquiring a second public IP and port forwarding that over the same port # to another machine. Of course, that usually comes at additional cost from the ISP. Also, you’d need a router that supported multiple public IPs and could port forward them independently (e.g., dd-wrt/tomato compatible router). But it simply can’t done w/ a single public IP.

Of course, you could use a DIFFERENT external port # for one of the webservers ( e.g., http:// cyanghost109.com:8080 ), but I’m assuming you’d prefer not to require the explicit port # for your URL.
Share
June 30, 2012 7:14:44 PM

Best answer selected by cyanghost109.
m
0
l
June 30, 2012 7:17:45 PM

eibgrad said:
The fundamental problem is that you can’t associate/map the same port # used by multiple internal IPs, to a single external public IP. It’s just not possible. OTOH, nothing prevents you from acquiring a second public IP and port forwarding that over the same port # to another machine. Of course, that usually comes at additional cost from the ISP. Also, you’d need a router that supported multiple public IPs and could port forward them independently (e.g., dd-wrt/tomato compatible router). But it simply can’t done w/ a single public IP.

Of course, you could use a DIFFERENT external port # for one of the webservers ( e.g., http:// cyanghost109.com:8080 ), but I’m assuming you’d prefer not to require the explicit port # for your URL.


Alright, thanx for the answer! I'm going to have to get a router that allows firmware flashing and I will look into DD-WRT. Thanx again!
m
0
l
!