# DNS confusion with namecheap + digitalocean

**URL:** <https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038>\
**Category:** Help with Setup/Upgrade\
**Created:** [October 9, 2020, 5:01pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038 "2020-10-09T17:01:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BryceB](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/bryceb/32/1615_2.png) [@BryceB](https://discourse.mailinabox.email/u/BryceB)\
**Post date:** [October 9, 2020, 5:01pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/1 "2020-10-09T17:01:58Z")

</div>

I have a domain registered at Namecheap, and a droplet at DigitalOcean.

The software installation on the droplet appeared to work fine. I can use the IP address to access the admin website of my mail-in-a-box installation.

I thought I had everything set up correctly, but apparently not, as [box.mydomain.com/admin](http://box.mydomain.com/admin) can’t resolve.

At Namecheap, the domain has no other DNS records, only the two glue records I was instructed to create for the “box” subdomain.

ns1/ns2 . box . mydomain . com which both point to the IP of the droplet.

These were set up yesterday, so they have had 18+ hours to propagate.

Anyway, the box subdomain doesn’t resolve, and the miab admin site shows several errors, mostly stating that my glue records are not set correctly.

Sorry for the slight vagueness, the forum software saw parts of the errors I had cut and pasted as links, and as a new user here, apparently I’m restricted on that.

What am I missing? Any thoughts? Are there supposed to be any records for the main domain?

---

<div class="post-metadata">

**Author:** ![alento](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/alento/32/1371_2.png) [@alento](https://discourse.mailinabox.email/u/alento)\
**Post date:** [October 9, 2020, 5:37pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/2 "2020-10-09T17:37:48Z")

</div>

> [@BryceB](#):
>
> What am I missing? Any thoughts? Are there supposed to be any records for the main domain?

Hi Bryce,

If you’d be willing to PM me with your MiaB hostname, I can certainly check WHOIS and DNS to determine what has gone tilt. 🙂

From what you have described though, I think that you may have not set the nameservers to `ns1.box.domain.tld` and `ns2.box.domain.tld` at NameCheap.

There are two things to be done there … creating the glue records, and then pointing the nameservers to those hosts.

---

<div class="post-metadata">

**Author:** ![BryceB](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/bryceb/32/1615_2.png) [@BryceB](https://discourse.mailinabox.email/u/BryceB)\
**Post date:** [October 9, 2020, 5:45pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/3 "2020-10-09T17:45:40Z")

</div>

I can’t figure out how to PM. Maybe it’s restricted for new users like me?

Anyway, the hostname is [box.westyellowstone.com](http://box.westyellowstone.com)

---

<div class="post-metadata">

**Author:** ![alento](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/alento/32/1371_2.png) [@alento](https://discourse.mailinabox.email/u/alento)\
**Post date:** [October 9, 2020, 5:47pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/4 "2020-10-09T17:47:18Z")

</div>

> [@BryceB](#):
>
> Anyway, the hostname is [box.westyellowstone.com](http://box.westyellowstone.com)

Exactly as I suspected in the addition to my comments I was writing at the same time as you were replying. You need to change the name servers at NameCheap.

 ![image](https://discourse.mailinabox.email/uploads/default/original/2X/c/c75bd4411d54e9bd4771665905f9d20c9898c714.png)

You’ll need `ns1.box.domain.tld` and `ns2.box.domain.tld` in the spaces … the image is from a random domain so ignore the `dnsx.yandex.net` entries.

---

<div class="post-metadata">

**Author:** ![BryceB](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/bryceb/32/1615_2.png) [@BryceB](https://discourse.mailinabox.email/u/BryceB)\
**Post date:** [October 9, 2020, 6:16pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/5 "2020-10-09T18:16:30Z")

</div>

I knew I was missing something. It looks like that cleared the current round of errors. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://discourse.mailinabox.email/uploads/default/original/2X/4/4d0933d13c456b7e57f296aa6cc344525b6f0c70.png) [@system](https://discourse.mailinabox.email/u/system)\
**Post date:** [October 16, 2020, 6:16pm UTC](https://discourse.mailinabox.email/t/dns-confusion-with-namecheap-digitalocean/7038/6 "2020-10-16T18:16:35Z")

</div>

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