Towards the bottom of the file you will see some example virtualhosts. Configuring virtualhosts in xampp on mac jonathan nicol. First thing you need to do is setup a virtual host by. In this tutorial, i am going to demonstrate how you can set up and configure virtual hosts for wordpress websites with xampp running on windows 10. Creating subdomain in localhost on windows using apache. In this post youll learn how to add subdomains to a xampp server. Settingup multiple subdomains in your localhost using xampp.
This will take you to your xampp installation directory. Open the file applicationsxamppxamppfilesetcextranf. If you have xampp installed in a different location, then change any paths to files accordingly. The folders name can be just the subdomain name ex. In xampp \apache\conf\extra\nf file add these line at the bottom of the file for subdomain support. In this tutorial, youll learn how to install and run wordpress multisite on a mamp webserver. Set up wordpress multisite on mamp perishable press. Use the windows hosts file to redirect the traffic from your computer to the local installation of xampp rather than to the original website.