Report this

What is the reason for this report?

Proper A record set up for two separate servers

Posted on March 17, 2016
mrbm

By mrbm

I currently have one server with my registrar pointing the domain name via digitalocean name servers (ns1.digitalocean, ns2.digitalocean.com). The current server hosts www.mydomain.com mydomain.com and my mail server

I want to convert my current set up into two different servers:

  1. Current server would still be the mail server and hold “mydomain.com
  2. Second server would hold just “www.mydomain.com

I was thinking the proper way would be to change the registrar.com to no longer point to digital ocean dns and instead point the dns servers to my registrar and then do something with the A-records…this is where I get confused.

Can somebody please make some suggestions on how to set up the a-records for the two different servers on the registrar?

I’ve seen a few kinda answers but not really anything concrete.

Thank you!



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!

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.

There is no need to repoint your DNS. You can set this up via the Networking->DNS section of the control panel. Your mail server records will remain unchanged and you’ll want the following two A records for your web content.

www A [ip address of second server] @ A [ip address of first server]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.