Changing Ports
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: March 08, 2008 04:50PM

If i have two web servers how do i get both of them to work becuz i cant forward my routers ports to my one computer threw port 80

Options: ReplyQuote
Re: Changing Ports
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: March 08, 2008 05:04PM

lol this is not how it works


in your router set up two redirects. using the two computers local ips with port 80 on the end like


192.168.1.1:80

192.168.1.2:80

then make sure u set the Servername in the httpd.conf file properly

Options: ReplyQuote
Re: Changing Ports
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: March 08, 2008 05:43PM

wait so where wud i go on my routers config screen to send it to 192.168.1.100 i have to send to go to port forwarding type in port 80 and do both udp and tcp and then type the ip of my comp but i can only name the port once

Options: ReplyQuote
Re: Changing Ports
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: March 08, 2008 05:49PM

make make router?


you can only name external ports once

ie

external port 8080
tcp
internal ip 192.168.1.100
internal port 80

external port 8080
tcp
internal ip 192.168.1.101
internal port 80



this would not work as 8080 is used in both redirects

but

external port 8080
tcp
internal ip 192.168.1.100
internal port 80

external port 8081
tcp
internal ip 192.168.1.101
internal port 80


would work as the router knows to send any 8080 to 192.168.1.100:80
and any 8081 to 192.168.1.101:80

Options: ReplyQuote
Re: Changing Ports
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: March 08, 2008 07:25PM

noclue what u just sed so nvm

Options: ReplyQuote


Sorry, only registered users may post in this forum.