How to Set Virtual Host Setup In XAMMP in Windows

Hi Reader, Here you will get to know how to set virtual host setup in XAMMP in Window.  Basically when we are working on PHP development like framework  Zend, Symphony we need to setup  Virtual Host to project run in our localhost.



It’s very simple, within 2 min we can setup easily. follow the below step by step instructions to get this. In below example I set up gonetwork as my project folder in htdocs, so you can change according to your project folder name.

 

Step-1:



C:\xampp\apache\conf\extra — httpd-vhosts.conf

 

Step-2:

C:\Windows\System32\drivers\etc —

 



Step-3:

Restart your Apache Server now.

Run this project by name http://gonetwork.com in your local machine.



Similarly you can run your project http://your_project_folder.com

 

Hope this will help you out.



Tags: