Hot answers tagged web-sharing
Check the power saving settings and configure the machine not to sleep when closed.
When you close the lid, the Macbook enters in stop mode, which shuts down the network interfaces. I think that you can keep it "awake" when closed if you attach an external monitor and a mouse.
It's been removed from the non-Server version since Mountain Lion as far as I can tell. As was stated in the comment, probably the only thing stopping you is the firewall. You should be able to go into the Security Preferences pane, and in the Firewall tab, add a rule for /usr/sbin/httpd As an aside, if you want the web server to be started automatically ...
The Snow Leopard feature is called Wake on Demand.
Your web server should be independent of IP unless you have it specifically bound to an IP. Set up the web server as per normal, check ports, see if it works. If you want to (for some reason) run different versions at once, don't forget to use a different port. That said, this is one of the situations where you may be better off having VMs with different ...
I would imagine this is a form of security, particularly if you're using multiple accounts. It's easier to enable browsing through the .conf file for one user account, then it is to disable browsing for several accounts. Malicious people then just simply can't enable web sharing and have unrestricted access to a user folder, unless they edit the conf file ...
Only top voted, non community-wiki answers of a minimum length are eligible