I just got my Pi (first time using linux) and I'm starting with trying to access an html page. I've created a file called "dogdoor.html" in my /var/www folder that just says:
"<HTML><BODY>The door is closed</BODY></HTML>"
I can see it perfectly when accessing it from http://localhost/doogdoor.html
I used ifconfig to check the IP address of 127.0.0.1, however when I try to access 127.0.0.1/dogdoor.html I get a connection error message. I also cannot see the index page when just pointing to 127.0.0.1.
When I ping 127.0.0.1 everything comes back just fine.
Am I missing something here? I've spent hours looking around on posts and trying things without any success.