
- Create a local web server mac how to#
- Create a local web server mac pro#
To test my web sites on ~/Sites, I use For the default web documents folder, I use the default host And to access my iMac from my MacBook Pro, I use and the other way around is Paths
I name my Macs with type and year: IMAC2012 and MBP2013. I have created some other folders, like /var/php/ and /var/py/ where I stro my own PHP- and Python functions. I use the ~/Sites folder under my user to store all websites, Rapidweaver files, Sublime-text project files, PHP-function libraries, etc. I use the default web server folder for all general media, like jQuery, TinyMCE, Fontawesome, CSS-files, images and other/my own Javascript-files. My iMac is my central hub from where all files are being distributed: to Dropbox, to SVN and to iDrive backup. Furthermore, I moved the Sites-folder into Dropbox on both Macs, so I don't have to setup some kind of timely mirroring with SVN, ChronoSync, or something similar. I then had to move my 'Sites' folder onto this new SSD, because the Apple SSD is only 240GB. My iMac had a fusion drive, but I split it into two and replaced the 3TB HDD with an 2TB SSD. Create a local web server mac pro#
I have 2 Macs - an iMac and MacBook Pro - and I use them both for web development. If you're on a previous version of macOS X, not to worry, the steps to take are practically identical.
Create a local web server mac how to#
I'll describe how to set it up on macOS High Sierra (10.13.5). And you want to be able to access your Sites folder, local web documents folder and your other Mac via HTTP. If you are a web developer, you sure do want to use the macOS X built-in web server, Apache, on all your Macs.