Forum Moderators: phranque
By way of explanation, the browser cannot create a connection to the internet *and* back from the internet to the same machine. I.E. the PC cannot act as both a client and a server for the *same* connection. For this reason, you have to provide for an internal connection.
In the hosts file, you'll probably find:
127.0.0.1 localhost
So add:
127.0.0.1 yourdomain.com
127.0.0.1 www.yourdomain.com
etc.
You may need to restart your browser or PC for this to take effect.
Jim
I assume you have asked someone outside your local network to test it?
Have you checked with your ISP to be sure that they allow servers on your end? Many don't, and some will disconnect you if you try to run an unauthorized server. Others block TCP/IP port 80 as well. They do this because most home or office ISP networks are optimized for little upstream data (click a link) and a lot of downstream data (get a whole page). A server presents the exact opposite bandwidth profile, and can seriously affect their customer's experience.
Jim