I installed apache on my computer. When I set it up, and typed "http://localhost" in my browser url location bar, I got a message saying apache was set up correctly.
But, when I typed in my IP address, I got a "server not found" error.
I tried setting up a subdomain on DynDns with it pointing to my IP for the heck of it, and it doesn't work either.
What do I do?
Several things can be wrong, it's hard to tell.
Does the Listen-directive in httpd.conf say "Listen 127.0.0.1:80" or something like that? If so, change it to "Listen 80".
Does your firewall block port 80?
Are you behind a router?
You can try "ping <your ip>" on the commandline to see if you get any response at all. Also try "traceroute <yourip>" ("tracert <yourip>" on Windows) to see what happens.
1.) Ensure that you're not running a firewall.
2.) Check that the apache service is running.
3.) Check that you are listening on port 80 (as said by MrBlueSky). When you install Apache you can select port 8080 to run on instead if you wish. See if you get a response from http://localhost:8080/
It is running :O
I didn't install on port 8080, and it is listening on port 80.
I'll try disabling my firewall.
Well, I installed wampserver. I figured out why it didn't work when I typed in my ip, it's because I wasn't using the correct one.
But... now, how do I get it so that a domain I pointed to that address can be accessed anywhere, and not just locally?