Archive for April, 2017

How To Setup Virtual Hosts Using XAMPP

by on Thursday, April 27th, 2017

xamppp

  1. Open this file httpd-vhosts.conf present in C:/xampp/apache/config/extra/
  2. add this code, sample :- NameVirtualHost *:80
    <VirtualHost *:80>
    DocumentRoot “d:/websites/sassnew/”
    ServerName sassnew
    </VirtualHost>
  3. Open file hosts present in “C:/Windows/System32/drivers/etc” using auth as admin and add this line
  4. 127.0.0.1 localhost
    127.0.0.1 sassnew
  5. Now restart apache and you can use now sassnew/

I guess this will help you.