Migrating my domain to Mythic Beasts

My supplier of email and domain registration is raising their prices. Actually, they raised their email prices some time ago, but I had a long contract which has just come up for renewal. I have a second domain (just email) with the same supplier that will also need to move about a year later.

After some searching, I settled on Mythic Beasts. Their hosting pricing is by total storage across email and web, regardless of the number of domains. Their website is clean and simple with a reassuring feel. Comments from other people who have used them were encouraging.

I’d previously had to migrate my web hosting away from the same supplier due to excessive price rises. I’d moved to IONOS. I want to be clear that there was nothing wrong with IONOS. They kept my original contract pricing with no price rises even though they no longer offer that price to new customers. It was only the need for two domains for email and one for web hosting that caused me to move away. When I eventually left them, the process was simple and quick. Their customer service was good.

I should note that my website is a simple static site. It doesn’t use PHP or a database. This makes migration easy. Email is more complex and restricted my choices.

Mythic Beasts provide a Domain Transfer Wizard to guide you through the process of transferring domains. I found this useful enough that I’m not going to give any notes on most of the migration steps.

I paid extra for shell (SSH) access, partly as it makes debugging a lot easier, but mostly because I wanted to be able to deploy my website over Git, not SFTP. Mythic Beasts don’t support Git deployment out-of-the-box. I’m sure their SFTP deployment is fine. I haven’t tried it.

I went for 10 GB of disk shared for the email for two domains and one website. At the time I did this, that cost £3.50 per month for the 10 GB plus £1.50 a month for the shell access, plus VAT which would have been £6 per month. However, there’s a discount for paying annually (12 months for the price of 10), so I paid £60 for the year which is the equivalent of £5 per month including VAT. I could have started on the cheaper 5 GB option to save £1/month (£10/year). Upgrading after purchasing looks to be easy.

Email subaddressing

My old email provider allowed wildcard aliases. I used this to give RFC 5233 email subaddressing. Their email system gave plus (+) subaddressing automatically, but some websites incorrectly reject plus signs in email addresses. So, using wildcard aliases, I could also use dashes (-) and dots (.).

Mythic Beasts provide only dash subaddressing. However, they do provide a catchall address. For one of my domains, which has only one user, a catchall address would be fine. However, the other domain has multiple users so I needed a way to allow multiple subaddress separators.

The first domain I wanted to move was the one with a single user. So I knew if I couldn’t get subaddressing working, then the catchall addresses would work for that domain. I’d then have to hunt further afield for the multi-user domain.

Since Mythic Beasts allow you to host an arbitrary number of email and web domains. I set up email on a subdomain to test filtering while the MX DNS records for the domain still pointed at the old mail provider. I just had to tell Mythic Beasts to accept email for the subdomain and then create an MX record for the subdomain in DNS pointing to Mythic Beasts’ servers.

Mythic Beasts use Exim for mail. Their web interface has a simple interface for simple aliasing, but it also allows you to drop in Exim filters.

I created two mailboxes, one with the real name and one called catchall. The plan was to set up the filter to send all the subaddressed emails to the mailbox with the real name and everything else to the catchall box. That way, if the filtering failed, I’d still see the email and I could work out why the filtering failed. This filter could then be extended manually for the other domain with multiple user-mailboxes.

Eventually, I ended up with something like this Exim filter as the default (where domain is my domain, mythuser is by Mythic Beasts username, and emailuser is the email username (the part before the plus, dash or dot when subaddressing):

# Exim filter <== AUTO
logfile $home/default_filter.log
logwrite "Mail to local part: '$local_part_prefix' - '$local_part' - '$local_part_suffix' was '$original_local_part'"
if error_message then finish endif
if $original_local_part begins "emailuser" then
save "/home/mythuser/popboxes/emailuser%domain/Maildir/"
finish
endif

save "/home/mythuser/popboxes/catchall%domain/Maildir/"
  

The trick is that the local part of the incoming email is in $original_local_part. This error was easy to spot when I sent emails to the test subdomain.

Web migration

The bulk of the web migration was easy. Mythic Beasts are running Apache, so my the .htaccess files I use for serving URLs without file extensions, just ported straight across.

There were two issues: deployment over Git, which Mythic Beasts don’t support directly, and HTTPS switch-over without downtime, which was scuppered by an unfortunate interaction between my old web hosting provider and the method Mythic Beasts want to use.

Website deployment over Git

Although Mythic Beasts don’t support web site deployment over Git, their shell access does have Git. This means all the pieces were available, I just needed to assemble them.

My Git repository has the website in an htdocs subdirectory. This matches what IONOS did. In contrast, Mythic Beasts have no subdirectory. The root of the website is in www/hostname under the home directory of your login. Git really doesn’t like checking out subdirectories.

My website is a dumb static site. Importantly, no files are written back into the same directory as the files are served from. I can redeploy from Git cleanly without needing to preserve any contents.

The solution I came up with was to get a Git post-receive hook to check out into a temporary directory. Then use mv to move the current live directory to a new name, move the htdocs directory into right location and then tidy up.

So, overall, after logging in with the shell account, the steps were as follows (commands are in brackets because this isn’t an exact record of what I did):

On my development machine:

Testing in staging

Mythic Beasts does provide the test your website before making live. Follow the link at the bottom of the website configuration page.

DNS

IONOS require you to be using their nameservers to issue TLS certificates for web sites. Mythic Beasts don’t. This meant I had to move the website over before changing nameservers.

Switching over HTTPS

There was only one problem with the transfer, which was attempting to have no downtime with HTTPS. Mythic Beasts to provide a process to get the SSL certificate set up before switching DNS, but it didn’t work for me.

The process involves setting up a .htaccess rewrite rule to redirect request for .well-known/acme-challenge to Mythic Beasts infrastructure. Unfortunately, this doesn’t work with IONOS’s web setup. I’m pretty sure there nothing malicious here, it’s just a collision between the two systems. I’ll make a note here of what I did in case it helps anyone else debug the same problem. The debug was important as my .htaccess file is complicated enough it took a while to rule out a problem with this.

In the end, to test the redirect, I set up my .htaccess file as:

RewriteEngine On

# RewriteRules should ensure they are compatible with both Apache and
# LiteSpeed. This means requests may or may not have the leading /.

RewriteCond %{HTTP_HOST} ^(www\.)?domain$ [nocase]
RewriteRule ^/?\.well-known/a[ck]me-challenge/(.*) http://www.domain.servername.mythic-beasts.com/.well-known/acme-challenge/$1 [L,R]

The trick here, is that as well as redirecting acme-challenge, I’m also redirecting akme-challenge.

When I used curl to make a request to .well-known/acme-challenge/test I got a 204 No Content response, whereas for akme-challenge I got a 302 Found redirection, as per the rewrite rule.

Looking at the response headers (using curl -v) I could see that the Server header was nginx for acme-challenge but it was Apache for akme-challenge. From this I concluded that acme-challenge was being redirected by the existing web hosting provider’s infrastructure before it could make it as far as by .htaccess file.

I emailed Mythic Beasts’ support just to check I hadn’t missed some trick. I mailed them at 15:30 on a Saturday and had a response from a human just over an hour later confirming my analysis and that there was nothing I could do.

So, I went through the approach of just switching over with short DNS times. In the end it took a few minutes to get the new TLS certificate issued and for HTTPS to work.

I gave it a week for everything to settle before swapping over the nameservers and then another week before cancelling my old contract.

Lessons learnt

I will repeat the most important lesson from my last move. Have reminders well before your renewal dates. If you have to shop around and move, it’s much easier if you’re not in a hurry.

Having a simple website that doesn’t rely on any features specific to my old web hosting supplier made moving simple. In contrast, having complex email facilities did cause me some problems.


[Up] Up to the welcome page.
Comments should be addressed to webmaster@pertinentdetail.org.
Copyright © 2026 Steven Singer.