PTR records for a droplet running Vesta - Multiple domains on one droplet

I’ve searched the archive and couldn’t find a clear answer to this question. If you can only have one PTR record per droplet (based on it’s hostname). How can you host multiple domains on a droplet, that are expected to send emails?


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.

A bit of explenation:

What Is A Reverse PTR Record? PTR record or more appropriately a reverse PTR record is a process of resolving an IP address to its associated hostname. This is the exact opposite of the process of resolving a hostname to an IP address. Example, when you ping a name it will get resolved to the ip address using the DNS to something like Reverse PTR record does the opposite; it looks up the hostname for the given IP address. In the example above the PTR record for IP address will get resolved to

Why Do You Need A Reverse PTR Record? The most common use for looking up a PTR record is done by spam filters. Concept behind this idea is that fly by night spammers who send e-mails out using fake domains generally will not have the appropriate reverse PTR setup at the ISP DNS zone. This criterion is used spam filters to detect spam. If your domain does not have an appropriate reverse PTR record setup then chances are most e-mail spam filtering software will block e-mails from your mail server.

How can you host multiple domains on a droplet, that are expected to send emails? Once you got a mailserver running, you could setup a PTR record for that mailserver since its sending/receiving all the mails. All the other domains you would like to use for mail, will have to connect to your main mailserver and use that to send and receive mails from. To do this you can find alot of tutorials online, or you could use some sort of CP wich has integrated mail.

Hello there,

There should be no need to have 2 PTR records. Recently I had a discussion about the same thing here.

Basically, as per this comment here, you can set the Droplet’s hostname (which would update the PTR record along with it) to e.g. where is one of the domains on that droplet, and then add an A record for that points to your droplet.

This way it will be a valid PTR <=> FQDN setup and it will work fine for all of the domains on that Droplet.

As a side note, I could also suggest checking this discussion here on why adding multiple PTR records is not recommended:

DigitalOcean automatically configures the reverse DNS entry (PTR) on their end. It will be the hostname you choose when you set up your droplet. You can change/check this in the control panel by selecting your droplet, then settings, then rename. As it says, changing the name there will update the PTR but not the hostname of the system, that is something you will need to do, instructions for that vary depending on the system you have installed.

You can find more information here:


Amazing answer