Virtual Host In windows can be created in just two steps:
Prerequisite: You have a project folder up and running inside var/www/html
1) C:\Windows\system32\drivers\etc\hosts
add ip address followed by host name(folder name: var/www/html/projectname.com)
127.0.0.1 example.com
2)C:\xampp\apache\conf\extra\httpd-vhosts.conf
remove # and edit the contents for each one
References:
https://medium.com/@ajtech.mubasheer/configure-a-virtual-host-for-laravel-project-in-xampp-for-windows-10-d3f0068e7e1b
No comments:
Post a Comment