abr 082014
 

Say we want to create a virtual host for novasb.dev

 

Create a file under wamp/alias called novasb.dev.conf and add:

<VirtualHost *:80>
   DocumentRoot "c:/sites/novasb"
   ServerName novasb.dev
   ErrorLog "logs/novasb-error.log"
   CustomLog "logs/novasb-access.log" common
   <Directory "c:/sites/novasb">
      Options Indexes FollowSymLinks
      AllowOverride All
      Require all granted
   </Directory>
</VirtualHost>

Then, in windows\system32\drivers\etc\hosts , add:

127.0.0.1       localhost novasb.dev

Restart apache.

 Leave a Reply

(required)

(required)

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