Mac OS X Default Web Server Directory Location

The Sites folder on OS X server should by default create an easy to find alias that jumps to the folder.  If this isn’t the case, you can also find the default ‘Sites’ folder a few other ways.

1: /Library/Server/Web/Data/Sites


2: Another way you can quickly find you ‘Sites’ directory is by using the Server application for OS X.  Launch the server app, navigate to “Websites” on the left side of the screen, select your site from the list a and click “Edit”.  To the right of “Store Site Files in:” you’ll see an arrow.  Clicking this arrow will jump to the appropriate directory.


Another common question is where is the default db directory for MySQL in OS X?

 /usr/local/mysql/data/

Hidden files may need to be enabled to reveal some of these locations.

Terminal » Show Invisible Files » defaults write com.apple.finder AppleShowAllFiles YES
Terminal » Hide Invisible Files » defaults write com.apple.finder AppleShowAllFiles NO