I am using the newly created App Platform from Digital Ocean. I am trying to point my domain to the server that I created within Digital Ocean. I am told I need to add a CNAME to my domain (since DO only gives me a domain rather than an IP), but from what I understand I can only do this for a subdomain (like www). Is there a way to point my root domain there (to DO) without losing my MX records that point to Google?
Asked
Active
Viewed 801 times
1
-
Who told you this? – Michael Hampton Feb 19 '21 at 18:21
-
MX records doesn't have anything to do with the domain name per se, they can point to other domains than your own. CNAME's are not allowed on root level. – Fredrik Feb 20 '21 at 11:01
1 Answers
0
Simply point your domain (example.com WITHOUT the www part) to the IPv4 address of your DigitalOcean app. This should be an A record.
Then you point the www.example.com to example.com. This should be a CNAME record.
Leave other records unchanged.
Hope this helps someone out there!

Cedlinx
- 1
-
That's what I'm saying: that DigitalOcean gives you a domain only, not an IP – Mike M Oct 25 '22 at 10:14