VirtualHost for subdomain not working?
So I have successfully added a DNS record for my subdomain. Now I have access to “blog.mydomainname.com”
I then created a new virtualhost for my subdomain in /etc/apache2/site-availables/000-default.conf :
saved it and restarted apache.
But nothing changes… when I browse blog.mydomain.com it still shows my main website. Obviously i have created a new folder (“blog”) in /var/www and uploaded wordpress via FTP.
Am I missing something?