# Migrating server to new TLD domain

**URL:** <https://discourse.mailinabox.email/t/migrating-server-to-new-tld-domain/17197>\
**Category:** Maintenance\
**Created:** [December 3, 2026, 8:49am UTC](https://discourse.mailinabox.email/t/migrating-server-to-new-tld-domain/17197 "2026-12-03T08:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plx](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@Plx](https://discourse.mailinabox.email/u/Plx)\
**Post date:** [December 3, 2026, 8:49am UTC](https://discourse.mailinabox.email/t/migrating-server-to-new-tld-domain/17197/1 "2026-12-03T08:49:55Z")

</div>

Hello

I self host my miab, with a static ip from my ISP. I am giving up the .me domain my instance is running on, moving to a .net one. The .me is only used for the admin account. Two other domains are hosted on the server, both with their own users. All these domains are registered with Namecheap, fwiw. The .net is with Cloudfare (I know it’s more work ;-).

My question is, can I just run the setup script and change the domain name, tidy up, or do I have to do what I was intending to do, completely start from scratch and then restore the mail to the other domains hosted on the server?

Thank you, Iz

---

<div class="post-metadata">

**Author:** ![andrew](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/andrew/32/1449_2.png) [@andrew](https://discourse.mailinabox.email/u/andrew)\
**Post date:** [December 3, 2026, 10:59pm UTC](https://discourse.mailinabox.email/t/migrating-server-to-new-tld-domain/17197/2 "2026-12-03T22:59:00Z")

</div>

Good question. I’m wanting to do something similar soon - drop the domain which was initially used for my MIAB setup and move everything to a new domain. The new domain already exists and is working fine.

I’m not fussed about mailbox contents, I can move that easily enough. I’m more concerned with what happens and how I drop the “initial” domain from my MIAB without causing myself hassles.

Is it “just” a matter of setting up glue records under the new domain, archive the users under the initial domain, and running setup using the new domain? Has anyone done this?

---

<div class="post-metadata">

**Author:** ![Plx](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@Plx](https://discourse.mailinabox.email/u/Plx)\
**Post date:** [December 4, 2026, 2:37am UTC](https://discourse.mailinabox.email/t/migrating-server-to-new-tld-domain/17197/3 "2026-12-04T02:37:06Z")

</div>

Well, we’ll find out this weekend. I’ll post how I get on. Iz 🙂
