By mirono
I have 2 domains hosted on the same droplet (and the same IP) How do I set PTR records for both, so the mails going from both domains will not be rejected?
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!
Thank you for your answer, but it would be easier to me to understand it with a sample. Currently this is what I have: the droplet name is something.com (not domain1.com or domain2.com) it host 2 domains: domain1.com with MX: domain1.com. domain2.com with MX: domain2.com.
Do you suggest to change domain2 MX to domain1.com.? In this case emails from user@domain2.com will not be treated as spam?
This comment has been deleted
Your droplet has a dedicated IP. For people to remember this droplet’s address easier, you are asked to enter a ‘hostname’.
What is hostname? This is the part where most people get confused. They assume by hosting a website ‘abc.com’ in this droplet, you should enter ‘abc.com’ as hostname. Well, there is nothing wrong about it, but it become an issue when you are hosting more than one website in single droplet (who don’t?)
By practise:
Droplet #1: fire.serverdroplet.com Hosting website ‘abc.com’ and ‘xyz.com’
Droplet #2: water.serverdroplet.com Hosting website ‘def.com’ and ‘mno.com’
Your PTR are assigned to both fire.serverdroplet.com and water.serverdroplet.com
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.