Mac OS X: How to host a website on your computer

  • Last Modified on: June 21, 2004
  • Article: 61500
You can use the Apache Web server software included with Mac OS X to host a website on your computer.

Open System Preferences, click Sharing, click the File & Web tab, and turn on Web Sharing.

Web pages you put in your Sites folder (in your home folder) can be browsed at http://your.computer.address/~yourusername/

Use your short user name, and include the ending slash (/).

Pages you put on your hard disk in Library/WebServer/Documents can be browsed at http://your.computer.address

To find your computer's address, look at the bottom of the Sharing pane of System Preferences.

To learn more, use a browser to open index.html in your Sites folder or look in /Library/WebServer/Documents/Manual.

This document contains information from Help Center, the help system included with your computer.
Keywords: kmosx khelp