I am trying to create a virtual host for a site I am working on. Here is the line of my hosts file:

127.0.0.2   ww3.name.io

and in my https-vhosts.conf:

<VirtualHost 127.0.0.2:80>
    ServerName ww3.name.io
    DocumentRoot "/home/username/Desktop/name.io"
    DirectoryIndex index.php
</VirtualHost>

I have restarted apache2 and xampp after the changes yet no matter what i do i get the default apache page. What am i doing wrong?

0 Answers