Posted By

shanecp on 06/23/13


Tagged

host vhostvirtual


Versions (?)

Apache Multiple virtual hosts on localhost


 / Published in: XML
 

Setup multple vhosts on localhost. Update hosts file with mapping.

127.0.0.1 ci2.dev

  1. NameVirtualHost *:80
  2. <VirtualHost *:80>
  3. DocumentRoot "E:/wamp/www/appsland_dev/public"
  4. ServerName appsland.dev
  5. </VirtualHost>
  6.  
  7. <VirtualHost *:80>
  8. DocumentRoot "E:/wamp/www/8102_ci2/public"
  9. ServerName ci2.dev
  10. </VirtualHost>

Report this snippet  

You need to login to post a comment.