Have a droplet on a dev team, how do I link the site as a subdomain to the main site?

How do I link the PTR records from a dev account to the main account to the using DNS records in order to link the droplet to a subdomain. I followed this tutorial . But cannot see anything on my PTR records. Do I need to transfer the droplet from the dev to the other account? If so how?


To make sure I understand the issue, you’re saying that another account has the authority for and you want to setup

If this is the case, then I think you’d need to make the changes in the DNS in the other account as the DNS settings for are there.

I don’t think you have to transfer the droplet to the other account but I do think the DNS change needs to be made in the other account. From there, for example, you could point at the IP address of the droplet in the dev account, etc.

Does that help?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


It really depends on what you’re actually trying to do.

If you need to make changes to the DNS Zone for a domain, and you’re using DigitalOcean’s DNS, thus managing the DNS from the Networking page of the control panel, then yes, you would make all DNS changes on the account that has the domain.

The PTR record really isn’t important unless there’s something specific you’re trying to do that I’m not understanding. If you’re simply trying to manage pointing a domain to an IP, a CNAME to a domain, etc, then the PTR doesn’t really matter.

If you’ll provide a more concrete example of what you need to do, I’d be more than happy to help. I’m just not too sure of what you’re trying to do from the first post.


When you visit Control Panel -> Networking -> PTR Records, the only records that will show are those that link the public IPv4 IP address to a Droplet.

You can’t modify your PTR records directly as these are setup when each Droplet is created. You can setup multiple Droplets to gain PTR records for each one though.

For example, using as the domain.

If I setup 4x Droplets:

The above will have a single PTR each. We could change that up a bit as well as use something such as:

And as above, the PTR records will reflect that.

You would need to make sure you have proper WildCard entries setup for the second example though and that would be something such as:

A          *          DROPLET_IP
A          *.web      DROPLET_IP
A          @          DROPLET_IP

The first entry enables * while the second enables *

To handle the requests for those DNS records, you’d need to make sure your web server is setup to handle the WildCard.

For example, with NGINX, we’d use something like:

server_name *;


server_name *;

On Apache, we’d use something such as:

ServerAlias *


ServerAlias *