Setting Virtual Host Using Wamp
Step 1 : - Download and install WAMP, then start the program Step2 : - Go to "C:/Windows/System32/drivers/etc" and open the "hosts" file in Notepad. Step 3 :- At the bottom of the hosts file, below all the other text, add a new line with the following: 127.0.0.1 mysite.local #My Test Site (# symbol is used for comments) Step 4 - Open "C:/wamp/bin/apache/Apache2.2.21/conf/" (your Apache version number may be different)- There will be 2 files - one called "httpd.conf", and one called "httpd.conf.build", Open "httpd.conf". Step 5 :- There will be entry of "# Virtual hosts", uncomment (remove the hashtag [#]) the line below it: "Include conf/extra/httpd-vhosts.conf".This tells Apache to include the file "httpd-vhosts.conf" (the file where we set our virtual hosts) when configuring its settings. Step 6: - Go to "C:/wamp/bin/apache/Apache2.2.21/conf/extr...