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 lameei
My DNS settings are as follows:
$TTL 1800
@ IN SOA NS1.DIGITALOCEAN.COM. hostmaster.[mydomain.com]. (
1412671879 ; last update: 2014-10-07 08:51:19 UTC
3600 ; refresh
900 ; retry
1209600 ; expire
1800 ; ttl
)
IN NS NS1.DIGITALOCEAN.COM.
NS NS2.DIGITALOCEAN.COM.
NS NS3.DIGITALOCEAN.COM.
MX 10 mx.zohomail.com.
MX 20 mx2.zohomail.com.
@ IN A [SERVER-IP-ADDRESS-REMOVED]
www CNAME @
The problem is that the domain without www loads index.html in ( /var/www/index.html) and with www loads (/var/www/mydomain.com/public_html/index.html)
How can I fix this issue?