How To Setup Virtual Hosts Using XAMPP

by admin on April 27th, 2017


  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
  3. Open file hosts present in “C:/Windows/System32/drivers/etc” using auth as admin and add this line
  4. localhost sassnew
  5. Now restart apache and you can use now sassnew/

I guess this will help you.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>