Setting up Virtual Hosts with XAMPP on a Mac

Sometimes, putting a website into a subdirectory just doesn’t cut it. You need to have the website act like it’s on it’s own first party domain. But how do you do this with XAMPP? XAMPP uses Apache web server and to do this with Apache, you would create virtual hosts.

To create some XAMPP virtual hosts on our Mac, we need to

* create a virtual hosts entry for each virtual host
* include the virtual hosts file in the httpd.conf
* add an entry in your hosts file for each virtual host

By: Procsilas Moscas

Continue reading “Setting up Virtual Hosts with XAMPP on a Mac”