Hello!
Is it possible to point a subdomain of a site hosted on a Digital Ocean Droplet to a Netlify site? I have my sites DNS hosted here on Digital Ocean. Netlify uses a modern CDN so I can’t point an A record at an IP as their is no dedicated IP to point at.
Here is what I would like to accomplish;
example.com -> hosted on a digital ocean VPS blog.example.com -> hosted on a Netlify deployment (build from Git)
Is this possible with basic DNS?
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, @awshoot
From the looks of it this is possible. You can check out Netify’s official documentation in order to set this:
https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/
https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/#configure-a-subdomain
To point a subdomain such as blog.petsofnetlify.com or www.petsofnetlify.com to your site on Netlify, you must create a CNAME record with your DNS provider.
For example, if your site’s domain is blog.petsofnetlify.com and your Netlify subdomain is brave-curie-671954.netlify.app:
If your site uses the www subdomain, as in www.petsofnetlify.com, you will use the same procedure described above. However, you should also read about our special handling for www subdomains. This handling includes automatically adding the apex domain to your site, which requires an apex domain configuration as described below.
Hope that helps!
Regards, Alex
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.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.