How To Change Hostname Easily

I use mail.mydomain.com but I want to set it as mail.mynewdomain.com, can I get steps to achieve this?

I would assume you could just run

curl -s https://mailinabox.email/setup.sh | sudo bash

and put your new domain in during the setup process. Then update your DNS records for everything.
Obviously changing your domain is not recommended. In theory building a new box would be a lot better idea. You could even move the mail over manually.

1 Like

Since we don’t have any interface or script for that, I assume setting up new one is better option since we still have MIAB in stagging phase.

Thanks for your help :slight_smile:

It sounds like your hosting environment is something other than a server directly on the public internet, but if you have the option to run this, I think it actually would be very straightforward and simple. Hostname change is usually not a significant change, as it’s just a few places on the server, but I have to admit I haven’t done this before with MiaB.

1 Like

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