Looking for a nOObs guide to keeping my separate webserver

I apologize. What I need to do is keep my mail server separate from my webserver. For that reason I believe that I must host DNS separately. In that case, I think that using Linode’s DNS management makes the most sense (my other option is at the registrar, which is Dotster). I was going to double check that with a coworker later today (I live in PST) and start redoing it all

I did set with the Linode settings, as shown below, as a bit of test, but to be honest I’m just feeling my way around here :

The webserver is 45.79.80.121 and the Box box, as it were is 45.79.69.21

    ; ross-optimal.com [948567]
    $TTL 86400
    @	IN	SOA	ns1.linode.com. ross-optimal\.com.lefts.org. 2019090301 14400 14400    1209600 86400
    @		NS	ns1.linode.com.
    @		NS	ns2.linode.com.
    @		NS	ns3.linode.com.
    @		NS	ns4.linode.com.
    @		NS	ns5.linode.com.
    ns1.box	NS	ross-optimal.com.
    ns2.box	NS	ross-optimal.com.
    @		MX	10	mail.ross-optimal.com.
    @			        A	45.79.80.121
    ns1.box		300	A	45.79.69.21
    ns2.box		300	A	45.79.69.21
    www		       	        A	45.79.80.121
    @			AAAA	2600:3c01::f03c:91ff:fe24:948d
    www			AAAA	2600:3c01::f03c:91ff:fe24:948d

You use EITHER Linode or MiaB as the DNS — NOT BOTH!!!

If they are on the same domain, your belief is incorrect.

This I absolutely agree with … NOW, let’s make it happen.

You need to remove the 2 NS entries and A records for ns1.box and ns2.box for ross-optimal.com. Once you do this your 5 nameservers will be ns1 through ns5.linode.com. You also need to remove the MX record pointing to mail.ross-optimal.com and replace it with one pointing to box.ross-optical.com (assuming that the hostname of the mail server is going to be ‘box’. Lastly, you need to add an A record for ‘box’ pointing to the IP of the MiaB server.

Once the MiaB is up and functioning and you have added the first mailbox for your domain, you will then need to view the “External DNS” page in the admin area and copy most of the records there to the Linode DNS manager. I say most because not all are required - for instance it will show your www as having the IP of the MiaB server, which is not the case, so you will ignore it There will also be records for caldav and carddav which you may not even use – if you don’t I would ignore these as well. The same is true of autodiscover … these are all personal preference.

Thank you very much. I will be trying tonight but I will tweak the DNS now to give it time to propogate.

I just made another edit … you need to remove the 2 A records for ns1.box and ns2.box as well …

There is also some additional maintenance that needs to be done. This time with the domain registrar … you have entries in the Glue records pointing to Linode. These 10 entries should be removed completely. You should have NO glue record entries when you are done as glue is not required on this domain for the reason that you will not be running name servers on the domain.

I think I did that and it hasn’t propogated. Now my registrar has nothing but the ns1.linode.com, ns2…

Will do on the other A records.

Correct as far as name servers are concerned … but you also have ‘glue’ records pointing to Linode that need to be removed - these are completely different.

This is what I see on Dotster:

And this is Linode

Note that I have cleaned only. Not begun adding the records you advised.

Those both look fine … but you also need the ‘glue record’ area in dotster

Their terminology is ‘private nameserver’

https://www.dotster.com/help/article/dns-management-how-to-update-private-nameservers

1 Like

I’m not clear - are you using one single domain, and that is why you are using the Linode DNS server?

1 Like

The final goal is 3 domains, each serving up email from the MIAB instance on ross-optimal.

The ross-optimal.com domain is only going to be used for MiaB?

1 Like

No, OP plans to use it for email and web … some of my earlier comments are invalid now as OP decided to host DNS with Linode.

1 Like

The final goal makes choosing hosting DNS on Linode the absolute best choice of the three options because it mostly eliminates having the MiaB server as a single point of failure for all 3 domains.

1 Like

OP messaged me and we hashed this out. The user is at max message limit for new users, which seems a harsh policy to me given the user has only posted in a topic created by the user.

1 Like

OFF TOPIC:

I agree … I once asked @joshdata if anything could be done about this but it did not seem as it was possible. Maybe we can revisit this question as it has come up 3 times now in the past week.

1 Like

So… I picked up a new domain, mail-my-domain.com followed the instructions and have a running system. Most excellent. I now will begin reattempting the original desire, but I think I should start a separate thread for questions.

1 Like

Following this path is super easy!

Now all you have to do is enter an email address on the domain that you wish to host emails for in the admin area of MiaB. Once that is done, copy the DNS records shown in External DNS of the admin area to your domain’s DNS providers.

Of course, you will also need to add the MX record entry to DNS for those domains as well. :slight_smile:

1 Like

And so it was. Especially since Linode is kind enough clone a DNS Zone!

Two new domains are under weigh and the old one is getting ready for migration. Thank you all, especially @alento and @openletter.

I am thinking about that n00bs guide. Should I just post here and you guys can decide if you want it? Are there enough people like me who need the help? The instructions were fine, it was the DNSing around them that got me and the fundamental lack of understanding of how important it was to just separate the domain.

Happy to write it but won’t bother if no one will read.

You can lead a horse to water but … :slight_smile:

All contributions are welcome, so please feel free.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.