I am trying to create a virtual host for my project using Xampp.
- I added
127.0.0.1 project.comin thehostsfile inC:\Windows\System32\drivers\etc - I changed the port
80to8003in thehttpd.conffile inC:\xampp\apache\conf(I changed everything from80to8003in 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