Good morning. I have a problem when making a local server, I have modified the following files to work, but it still does not work for me. The first file that I modified is:
httpd-vhosts.conf
in which what I added was the following:
<VirtualHost 127.0.0.1:8080>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:8080>
ServerAdmin [email protected]
DocumentRoot "C:/xampp/htdocs/s"
ServerName dev.local.s.org
ErrorLog "logs/dev.local.s-error.log"
CustomLog "logs/dev.local.s-access.log"common
</VirtualHost>
The second file that I modified is the following
hosts
This is located in the path of Windows / System32 / drivers / etc
and just add the following host
127.0.0.1 dev.local.s.org
but when trying to enter the route, the following appears:
Not Found HTTP Error 404. The requested resource is not found.
I do not know if it has anything to do with the one that has port 8080 activated, instead of the 80 that is by default.
Thanks for your help