By Topher Knoll
My client has their domain hosted on Google Domains along with their Google Workspace/Gmail MX records. I’d really like to keep everything there so nothing gets screwed up. I also noticed that I couldn’t add SPF records to Digital Ocean. So, I really need a way to add an A record along with a CNAME record if I need to Google Domains that point to my DigitalOcean-hosted Node app. (This is the method I’m used to.) All the app/custom domain section gives me is a CNAME record. I tried making a droplet to get an IP address but that didn’t really help either. Any help is appreciated!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @topherknoll
If you do not want to change the nameservers you can use a CNAME record as described in our tutorial here:
As mentioned:
"You can also add a CNAME record to your domain. If your DNS provider is not DigitalOcean, reference your DNS provider’s documentation to see how to do this.
Use the “copy” button to copy the ondigitalocean.app alias, and paste it into the CNAME record on your DNS provider so that it points your custom domain to your App Platform app. When this is complete on your DNS provider, click the Add Domain button.
You can also add apex wildcard domains. App Platform validates the wildcard domain and issues certificates using TXT records."
The CNAME and the SPF records need to be added with Google since the domain name is using their nameservers.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
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.