Skip to main content
search
0

how to make virtual directory in xampp?

By December 21, 2011PHP
 C:xamppapacheconfextrahttpd-vhosts.conf

Add following code in end.

 <VirtualHost *>
    DocumentRoot “D:wwwfoldername”
    ServerName local.sitename
        <Directory “D:wwwfoldername”>
        Order allow,deny
        Allow from all
    </Directory>
  </VirtualHost>

C:WINDOWSsystem32driversetchosts

127.0.0.1       local.newsite

Leave a Reply

72 − 71 =

Open chat
💬 Need help?
Hello 👋
We are expert at building website and digital properties. Do you have an idea that you want to bring to life. Let us know and we will build it for you.