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, and make sure there is no blank space in front of second line and in the end of first line or your wamp 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