Setup Vhost xampp for mac
Setting up Virtual Hosts in Apache on on macOS Sierra and OSX is straight forward after you have your local Web Development environment up and running – get your web development up and running first including Apache, PHP and MySQL on macOS following this AMP stack guide here if required. The process of setting up Virtual Hosts is done easier in the Terminal either using nano or vi with sudo or as a root user, or you can you a GUI visual editor like Text Wrangler which allows access to the /private/etc directory by clicking ‘Show Everything” in the open dialog box. Allow the vhosts configuration from the Apache configuration file httpd.conf Open the httpd.conf sudo nano /etc/apache2/httpd.conf Search for ‘ vhosts ‘ and uncomment the include line # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf Also allow another module to run by uncommenting: LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so Edit the vhosts.conf f