How do I get for example http://mysitename.randomfreednshost to point to C:/xampp/htdocs/webpages/mysite ? I though I could just add
<VirtualHost mysitename.randomfreednshost>
DocumentRoot C:/xampp/htdocs/webpages/mysite
ServerName mysitename.randomfreednshost
</VirtualHost>
to httpd-vhosts.conf like I have done with 127.0.0.2 etc for my different sites. But when I go to mysitename.randomfreednshost.net after restarting apache I end up on the "New XAMPP security concept:" page at mysitename.randomfreednshost.net/xampp/
What am I doing wrong? I am sure it is something simple but all the tutorials etc tell me to put the above in my httpd-vhosts.conf or variations of it.