Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By batornator
I have set up my DNS and all appeared to be working fine, I have 2 sites hosted on my server using virtual hosts and going to either http://domain1.com or http://domain2.com works. However going to http://www.domain1.com or http://www.domain2.com does not. I have set up both a wildcard and www CNAME in the hopes of fixing it but it still doesn’t work.
My droplet is running CentOS 6 and apache, I have copy/pasted the info i have on the dns control panel below with the ip/domains removed. Any help or pointers to where I’m going wrong would be great!
A @ xxx.xxx.xxx.xxx
CNAME www @
CNAME * @
Zone File
$TTL 1800 @ IN SOA NS1.DIGITALOCEAN.COM. hostmaster.mydomain.com. ( 1409133661 ; last update: 2014-08-27 10:01:01 UTC 3600 ; refresh 900 ; retry 1209600 ; expire 1800 ; ttl ) IN NS NS1.DIGITALOCEAN.COM. NS NS2.DIGITALOCEAN.COM. NS NS3.DIGITALOCEAN.COM. @ IN A xxx.xxx.xxx.xxx