Simple http server mac os x
Name required. Mail will not be published required.
All Rights Reserved. Reproduction without explicit permission is prohibited. July 30, at pm. Leave a Reply Click here to cancel reply.
Shop on Amazon. Subscribe to OSXDaily.
Simple HTTP Server on the Mac App Store
Web Site 101: Using a Local Development Environment
If your intent is to create a company website, you may want to use the computer website location, as it will prevent others from being able to easily make changes to the website. You should store the website you create in your user Site directory or the Apache Documents directory. The Apache web server running on your Mac is configured to serve up the file in the Site or Documents directory with the name index.
Click the System Preferences icon in the Dock. Place a check mark in the Web Sharing box.
Share any folder via a built-in Web server
OS X Web sharing will turn on. In the Sharing window, click the Create Personal Sites folder button. If the Sites folder is already present from an earlier use of the web sharing preference pane , the button will read Open Personal Website Folder. If you wish to use the Apache documents folder to serve up a website, click the Open Computer Website Folder button.
To access any of these websites, open your favorite browser and enter any of the following:. If you're not sure what your shortname is, bring up the Sharing window you accessed earlier, and highlight the Web Sharing name in the list. Your personal website address will display to the right.
How to Start a Web HTTP Server in Python 3.0+
With the removal of the web-sharing interface, you may find yourself in the unusual predicament of having a web server running with no obvious way to turn it off. The limitations imposed by using the Mac's built-in Apache server is only present in the standard version of the Mac OS. Purchasing Mac OS Server will restore all of the web sharing services and quite a bit more to your Mac.
Share Pin Email.