virtual domains ubuntu www. pointing to wrong server folder!!
Hi, not sure if this has happened to anyone but I have 2 droplets one works the other is doing something strange. When I go on my browser and type www.mydomain.com the browser is pointed to var/www/ But when I type in mydomain.com my browser shows the site which sits in var/www/mydomain.com/ in the folder is a Wordpress run site. I have these DNS settings: www CNAME @ * CNAME @ I also have the virtual domains .../apache2/sites-available/mydomain.com ServerAdmin webmaster@localhost ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/mydomain.com/ ..... I just can't work out where the problem lies, does anyone have any ideas? Thanks