Custom Domain for mail, webmail, and DirectAdmin

  Reseller Tutorials

As a reseller you probably want to give your customers an address to use for IMAP/POP/SMTP, webmail, and the DirectAdmin control panel that belongs to you or your business rather than MXroute’s server names. Fortunately, you can do all of this. Your customers can also do this just the same for their domains, unless you disable the features for them.

Please keep in mind that these screenshots may not reflect your user template, as you may have already customized it in the Customizing Reseller Template tutorial.

Create DNS Entries

For my example, I’m using the domain hostballs.com, I’ve been assigned to the server safari.mxrouting.net, and my DNS provider is ClouDNS. All of these variables may vary for you, and it will be up to you to know how to use this tutorial with substitution for these.

In my DNS panel I’m going to click on Add New Record.

This opens a display that looks like this, but will of course look different at your DNS provider:

The first thing I need to do is change the Type from A to CNAME. Then it looks like this:

Now I’m going to set these values:

Host: mail
Points to: safari.mxrouting.net

Note: Do not try to test the “mail” subdomain in your web browser to confirm that it works. The “mail” subdomain is ONLY for SMTP, POP, and IMAP. The web server does not serve this certificate.

When I’m done, it looks like this:

I click SAVE and now I’m done with the first one.

You are going to repeat those steps two more times. Remember that my server is safari.mxrouting.net, but yours may be different. You need to change these values according to that variation:

Host: webmail
Points to: safari.mxrouting.net

Host: mailadmin
Points to: safari.mxrouting.net

This is really important: You need to wait 2-4 hours before continuing this tutorial! DNS propagation does not work how you think it does. Your DNS propagation checker does not work how you think it does either. Please do not ignore this instruction and then ask us why the next part isn’t working.

Configure SSL

While logged in to DirectAdmin, drop down to the User mode while logged in as the Reseller. This is a menu at the top-right, that looks like this:

Simply click “Reseller” there and switch it to User instead.

Next, click on SSL Certificates under Account Manager.

Next, click on the first tab:

UNCHECK the root domain. In my example, that is hostballs.com. Leave the other three checked. Example:

Leave everything else the same, click SAVE in the bottom right corner.

If you’ve done everything properly, INCLUDING WAITING 2-4 HOURS before requesting the SSL certificates, and it fails then you should do two things:

  1. Check for an outage of LetsEncrypt: https://letsencrypt.status.io
  2. Notify Jarland or Louis at https://chat.mxroute.com.