Setting up a local web server on OS X Snow Leopard 10.6
Basic Web Server
MAMP is great. It’s an easy way to host your PHP/MySQL site locally for testing and development. But, if you want to take advantage of Snow Leopard’s built in web server capabilities, OS X makes it easy. Go into System Preferences > Sharing, and check the “Web Sharing” box.
That’s it. You can now setup an HTML-only website locally. Where do you put the files? The default folder is /Library/WebServer/Documents/. While we’re at it, let’s setup PHP and MySQL to work locally, as well.
Test it. http://localhost. No need for a port as it will use apache’s default port 80.
PHP and MySQL will now need to be setup for a full functioning local host. Read More
I’m a frontend designer/web designer/graphic designer/regular guy with an insane curiosity for web design, typography, and the art of visual communications. I love to write, and do so in the