I am trying to create a virtual host for my project using Xampp.
- I added
127.0.0.1 project.com
in thehosts
file inC:\Windows\System32\drivers\etc
- I changed the port
80
to8003
in thehttpd.conf
file inC:\xampp\apache\conf
(I changed everything from80
to8003
in this file) - I added this:
<VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/project/public" ServerName project.com </VirtualHost>
in the httpd-vhosts.conf
in C:\xampp\apache\conf\extra
When I leave it with the 80 port in the files, it works good. But when I try to use the 8003 port does not work. I get the same message as when I stop Apache.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire