How Do I Use Custom Hostnames for POP/IMAP/SMTP and Webmail?

  • How do I use a custom hostname for POP/IMAP/SMTP?

This guide will show a brief example of how to set up a custom hostname for IMAP/POP/SMTP access (to use in your email client software), as well as a custom hostname for accessing webmail. Text in bold means you’ve made a severe mistake if you have skipped over it.

First, you need to open your DNS editor. This is provided by your DNS provider. There are many DNS providers, it is expected that you will know where to find this as we cannot provide step by step instructions for each one. If you are not sure how to get to this, please seek the help of the IT professional who assists you.

In this example, the domain is “” and my assigned MXroute server is “” These most likely vary for you, and you should consider any reference to these two hostnames below to be considered relative to the details specific to your account. You can find your server hostname (where mine is “”) in the email you received upon signing up, titled “Important Account Information.” The server hostname will appear in the email like this:

IMAP Server:

Step 1:

Now that you know your domain, your assigned MXroute server, and you have your DNS editor open. You’re going to create two CNAME DNS records. In my example, I am using CloudFlare for my DNS provider. This is how the image appears when I create the “” entry:

If you are also using CloudFlare, make sure that like me you have clicked on the cloud to the left of the “Add Record” button so that it turns from orange to grey. This is not relevant at other DNS providers.

For me, I click “Add Record” and it is created. The button may read differently for you.

Step 2:

Next, we’re going to add the “webmail” record. For me and my settings, using CloudFlare as a DNS provider, this is what that looks like:

Once again, since I’m using CloudFlare, I made sure to click the cloud icon so that it changed from orange to gray. Now that I’m finished, I click “Add Record” to complete the task. Again, the language and steps may vary for you with your DNS provider’s control panel.

Breathe for a moment, don’t skip this:

You are done with your DNS editor at this stage. Note that if you made a mistake above, the rest of this guide will fail. If you’re not sure, you need to seek the assistance of an IT professional. We’re happy to offer advice, but being able to make DNS changes is a strong requirement to be able to make the most of our service, and this is just not something we can help with very much because the steps vary so much for everyone, and we are not able to have accounts at every possible DNS provider.

Step 3:

If you did everything right, the next step is to wait. Please wait 48 hours before contacting support to troubleshoot this. We need to be certain that DNS caches have been dropped before we can accurately begin to troubleshoot. However, we would still prefer that you not reach out to us at all until you’ve gone through the troubleshooting options below.

Now that you’re done, you can use “mail.mydomain.tld” (where mydomain.tld is your domain) for setting up IMAP, POP, and SMTP in your email clients. Technically you’re not supposed to use this as your MX record, and attempts to mask DNS by doing so will be wasted with most DNS tools. However, the rumor that it breaks your email is not true. You will receive email fine if you set this as your MX record.

You can also use “webmail.mydomain.tld” now in a browser to access your webmail. You do not need to add the “:2096” to the end of the URL as you did with the server hostname.


Q: It says my SSL isn’t valid?
A: You can check AutoSSL (the service that applies the certificate) via “Custom SSL” in cPanel.

Q: Webmail redirects me to the server’s hostname instead of just loading under mine…
A: Make sure that you don’t have a proxy on the DNS record. For example, in CloudFlare this is the orange cloud icon next to the DNS record.

Please note that I did not create the above guide. The credit goes to Jarland. The original guide is located at:


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