1

Apache2 virtual hosts not working

view story
linux-howto

http://superuser.com – Running Ubuntu 12.04 LTS, Apache2.2.22. Running this on a home server through one IP. Problem running virtual hosts. I have a domain name registered with godaddy. lets say mysite.com, goal is to have www.mysite.com and test.mysite.com. Currently only www.mysite.com is working, if I try test.mysite.com it displays the content of www.mysite.com(I did make sure the content of both sites is different). I have created two files in sites-available and ran the appropriate A2ensite www.mysite.com and A2ensite test.mysite.com. Below are the two virtual host files: <VirtualHost *:80> ServerAd (HowTos)