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
I just can't work out where the problem lies, does anyone have any ideas?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.