JLBN - Virtual Hosts on WAMP

J L B N

Free Guides, Themes, Photo, Games, Movies

Step 1

In folder C:/wamp/www on computer1, we now create 3 folders associated with domain and 2 subdomains as follows:
C:/wamp/www/domain
C:/wamp/www/sub1
C:/wamp/www/sub2

Step 2

In each folder, we create folder logs to store the log files, and make sure to have these logs folders in place or your wamp will not run:
C:/wamp/www/logs
C:/wamp/www/domain/logs
C:/wamp/www/sub1/logs
C:/wamp/www/sub2/logs

Step 3

Use Notepad (or your desire text editor) to open file httpd.conf in folder C:\wamp\bin\apache\apache2.2.6\conf and find these lines:

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

Uncomment the second line by removing the symbol # as shown below, and make sure there is no blank space in front of second line and in the end of first line or your wamp/apache will not run:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

 

When you ready, click here to go to the next page

Appreciation, Suggestion, Question, or Comment, click here

It's NO MATTER a million or only one dollar donation BUT it's your generosity to help; thus, if you find our website is useful, please consider making a symbolic donation through our PayPal on JLBN.net. Thanks.