Jump to content

Apache issues with domains, but not localhost


clonetrooper9494

Recommended Posts

I can access the site on localhost, but when I try and access it externally like my IP, or a co.cc domain I have pointing at my ip, it doesn't work! I did everything that this (http://lifehacker.com/124212/geek-to-live--how-to-set-up-a-personal-home-web-server) site told me to do so I am really lost. The error log says"httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.120 for ServerName"and I looked that up on apaches website but didn't understand it: http://wiki.apache.org/httpd/CouldNotDetermineServerNameThe lifehacker guide said that the value shouldn't matter, but anyways when I was installing apache I set ServerName and HostName to "clonedrone.co.cc".I was poking around in the httpd.conf file and I think broke it, so I replaced it with the copy in the original folder.I am just about ready to give up! (and yes, I port forwarded)

Link to comment
Share on other sites

I am not sure why, but WAMP works fine. I am not sure why manually installing apache didn't work, because in the httpd.confs WAMP had localhost:80 which I already tried once... Still, if any one knows why this was happening it would be appreciated.

Link to comment
Share on other sites

If you had

Listen localhost:80

that essentially means you're blocking ANY external access, including one from your internal home network. If you have just

Listen 80

That enabled apache on any IP this computer has - localhost (127.0.0.1) and your local one (192.168.1.120).Last, but not least... you port forwarded, but are you sure the internal IP you mapped is your computer's IP and that it would remain that way? If you're using DHCP, you'll have to configure your router to always give your LAN card's MAC adress the same IP address, or the port forwarding will only work when the internal IP and port forwarded one happen to match. Alternatively, stop using DHCP, and set your IP manually, to make sure they always match.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...