How do you point a subdomain to DigitalOcean without using or the original domain or changing nameservers?

I am using namecheap as my domain registrar for a domain, say Because of the way I have things set up and pointing somewhere else, I cannot change the nameservers or use and therefore want to use a subdomain, say, to point to a Ubuntu 16.04 droplet with an example IP of

Based on what I have been reading, I believe it is possible to point to subdomains without changing the nameservers of on namecheap, but whatever I try does not seem to work.

My questions are:

  • What exactly do I need to do to the DNS settings on namecheap?
  • Is OR is my domain that I create under DigitalOcean?
  • What exactly do I need to do for the DNS configuration on DigitalOcean?

Thank you all for any help!!! :)

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Very useful post.

I’m using GoDaddy as register and my web server is hosted elsewhere. I’d like to point a subdomain to a Digital Ocean’s droplet.

May I ask if, adding an A record as you said, allows me to install and secure Nginx with Let’s Encrypt on the droplet following the provided tutorials from Digital Ocean itself? Will I miss something when comparing to the standard procedure of creating a whole new domain and pointing on Digital Ocean using, ns2.dig…etc ?

Thanks for the support.

Create an A-Record pointing to that IP wherever you control your current nameservers.