Step1:
In your C:\xampp\apache\conf\extra. Open httpd-vhosts.conf and below lines.
Step2:
In your C:\Windows\System32\drivers\etc\
Open hosts file and add below line
192.168.10.106 jayesh.shah
Step3: Restart apache
In your C:\xampp\apache\conf\extra. Open httpd-vhosts.conf and below lines.
<VirtualHost jayesh.shah:80>
DocumentRoot "D:/xampp/htdocs/jayesh/public"
ServerName jayesh.shah
ServerAlias www.jayesh.shah
<Directory "D:/xampp/htdocs/jayesh/public">
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Step2:
In your C:\Windows\System32\drivers\etc\
Open hosts file and add below line
192.168.10.106 jayesh.shah
192.168.10.106 www.jayesh.shah
Step3: Restart apache
No comments:
Post a Comment