I am trying to create a virtual host for my project in Laravel using Xampp.
- Already add
127.0.0.1 proyecto.com
in the filehosts
ofC:\Windows\System32\drivers\etc
- Change the value 80 to 8003 in the file
httpd.conf
ofC:\xampp\apache\conf
- Add the following:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/proyecto/public"
ServerName proyecto.com
</VirtualHost>
in the file httpd-vhosts.conf
of C:\xampp\apache\conf\extra
When I leave everything with port 80
if I can access the project with proyecto.com
, but when I change everything for 8003
does not load, it says it can not be accessed.