i have lampp installed, and i am trying to get virtual hosting to work, so i know how to do it in the future. on my local computer (a windows machine) i've put an entry in the hosts file (C:\Windows\System32\drivers\etc\hosts)
192.168.1.66 domain.tld
and i have put the following in the vhosts file on the server
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /opt/lampp/media/
</VirtualHost>
then when i go to "domain.tld" its exactly the same as if i went to "192.168.1.66" and if i go to "www.domain.tld" firefox says "server not found". i want to know if there's anything i'm doing wrong
Bookmarks