Step1:
Go to the path: C:\WINDOWS\system32\drivers\etc
Step2:
Open file hosts
for linux open vi /etc/hosts
Step3:
Add line at bottom of file: 127.0.0.1 zend.local
Step4:
Go to the path: C:\Program Files\xampp\apache\conf\extra
Step5:
Open file httpd-vhosts.conf
Step6:
Add the following:
<VirtualHost *:80>
DocumentRoot "c:/program files/xampp/htdocs/trackingguru"
ServerName zend.local
</VirtualHost>
Step7:
Type the following URL on browser: http://zend.local/
Note:Include conf/extra/httpd-vhosts.conf file must be uncommented in file wamp/bin/apache/apache2.2.6/conf/httpd.conf
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6
Go to the path: C:\WINDOWS\system32\drivers\etc
Step2:
Open file hosts
for linux open vi /etc/hosts
Step3:
Add line at bottom of file: 127.0.0.1 zend.local
Step4:
Go to the path: C:\Program Files\xampp\apache\conf\extra
Step5:
Open file httpd-vhosts.conf
Step6:
Add the following:
<VirtualHost *:80>
DocumentRoot "c:/program files/xampp/htdocs/trackingguru"
ServerName zend.local
</VirtualHost>
Step7:
Type the following URL on browser: http://zend.local/
Note:Include conf/extra/httpd-vhosts.conf file must be uncommented in file wamp/bin/apache/apache2.2.6/conf/httpd.conf
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6
No comments:
Post a Comment