View Single Post
Old 21st February 2007, 16:37
frgomes frgomes is offline
Junior Member
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Try updating /etc/hosts

If you are behind a NAT/firewall, probably your webserver has a local IP address (probably and your router/firewall is responsible for forwarding incoming requests to your webserver.

In this situation, you have a public IP address for your but, in fact, Apache has to accept requests in your local interface instead of your public IP address (assigned to your router/firewall in fact).

Try something like this in your /etc/hosts:

Code: localhost

# these lines MUST be kept otherwise Apache2 fail serving these addresses

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Enjoy :-)
Reply With Quote