Question about port forwarding port 80 (for apache) and a couple other questions

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

AhrenBa

Thread Starter
Joined
Jul 21, 2005
Messages
884
Hey Guys,

I have been messing around with Apache from (XAMPP) on my Windows computer. I know that it is not secure, but I am just testing it for right now (for fun).

I am behind a Linksys WRT54g router. I can easily access the apache server from internally (locally), and in order for me to be able to access it externally (external IP in address bar), I have to port forward in my router.

So, I port forwarded port 80 and everything worked fine. I just had a question about this.

Since most internet (HTTP) traffic is served through 80, and I just port forwarded 80 to one computer, how do the other computers on my network still have access to the net. Don't get me wrong, it's awesome that this works, but I would just like to know how. Theoretically, wouldn't all the traffic that is coming through 80 be routed to that one computer?

Can someone explain this to me?

Also, when people use Apache to host sites, do they usually keep the apache ServerName (in httpd.conf) at localhost, or do they change it to a different IP? I would imagine they would keep it at localhost, so what would be the reason for changing that to a different IP?

Thanks!
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top