I am new to Xampp, I just downloaded version 7.4.9, and I am having a hard time getting the virtual hosts to work. Here are the steps I have followed...
Uncommenting 'Include etc/extra/httpd-vhosts.conf' in the httpd.config fil for Apache.
In the httpd-vhosts file I entered
<VirtualHost *:80>
ServerAdmin **************
DocumentRoot "/opt/lampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin **************
DocumentRoot "/opt/lampp/htdocs/vhost_test"
ServerName vhost_test
</VirtualHost>
- In my /etc/hosts file I added a line that said '127.0.0.1. vhost_test
I have tried to follow many tutorials, so this is the most basic steps I have working. The first Virtual Host works because I can use it to redirect the localhost location. The second one does not. Please help!!!