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

and in my https-vhosts.conf:

    ServerName ww3.name.io
    DocumentRoot "/home/username/Desktop/name.io"
    DirectoryIndex index.php

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