- Code: Select all
127.0.0.1 bd.local
I updated the httpd-vhosts file with the following code.
- Code: Select all
<VirtualHost *:8080>
##ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "C:/xampp/htdocs/bd"
ServerName localhost
ErrorLog "logs/bd-error.log"
CustomLog "logs/bd-access.log" common
</VirtualHost>
I restarted XAMPP. When I type my subdomain name (http://localhost:8080/bd) into Chrome I get "The requested page "/bd" could not be found." When I type "localhost:8080" I get my home page, but none of the menu links work. I get "The requested page "/bd//section/mission-statement" could not be found." when I click the About link, for example.
Obviously I've coded something incorrectly. Can someone tell me what I did wrong?