How to point a new domain to an existing subdomain?

January 21, 2016 3.7k views
DNS DigitalOcean Apache System Tools Ubuntu


I’m trying to find out how to do the following:

  • I’ve set up *.mydomain.tld on my droplet, so whenever a user is created they get their own subdomain.mydomain.tld.
  • I now need to allow the user to add custom domains to point to their subdomain.mydomain.tld.

I’ve tried to change the nameservers on my other domain’s registrar to the ns1/2/ and also tried to point the subdomain to the new domain using CNAME records on the digitalocean domain settings.

Please let me know how this could be achieved. In this scenario, the external domain is registered at GoDaddy, and the droplet is running the latest version of Ubuntu.

2 Answers

Hi there, we’ll be happy to assist with that. We actually have a tutorial for this very thing, please visit:

If you should have continued questions, you’re more than welcome to submit a ticket to the support team to guide you along with any issues you encounter.

Hey there!

Have you tried looking at our guide on how to change nameservers with your registrar (GoDaddy)?

You can find it here:

by Josh Barnett
by Kathleen Juell
DNS is the naming system that is used to bind a domain name to a web server. In this guide, we will change the nameservers for a domain that we have registered and point it to a DigitalOcean Droplet.
  • Hey,

    I’ve already successfully managed to change the nameservers. I just need to now point the new domain to my existing domains subdomain. :)

Have another answer? Share your knowledge.