Appearance
Setting Up Custom Hostnames
This guide explains how to configure custom hostnames for your MXroute services, allowing you to use your own domain for webmail access and mail server connections.
Why Use Custom Hostnames?
Custom hostnames provide several benefits:
- Professional appearance when users access webmail
- Consistent branding across all email services
- Easier communication of server details to users
- Simpler email client configuration
Prerequisites
- An active MXroute account
- Admin access to your domain's DNS settings
- Your server name (found in your "[MXroute] Important Account Information" email)
Step 1: Identify Your Server
Before configuring custom hostnames, you need to know which server your MXroute account is hosted on:
- Locate the "[MXroute] Important Account Information" email you received when signing up
- Find your server name in this email (example:
lisa.mxrouting.net
) - Make note of this server name, as you'll need it for DNS configuration
Step 2: Configure DNS Records
You need to create two CNAME records with your DNS provider:
Create a CNAME record for webmail access:
- Host/Name:
webmail
- Value/Target: Your server name (e.g.,
lisa.mxrouting.net
) - TTL: Default value (typically 3600 or 1 hour)
- Host/Name:
Create a CNAME record for mail server connections:
- Host/Name:
mail
- Value/Target: Your server name (e.g.,
lisa.mxrouting.net
) - TTL: Default value (typically 3600 or 1 hour)
- Host/Name:
IMPORTANT
DO NOT use A records for these subdomains, as server IP addresses may change. Always use CNAME records pointing to your MXroute server name.
Example DNS Configuration in Common Providers
Namecheap
- Log into your Namecheap account
- Go to "Domain List" and click "Manage" next to your domain
- Select the "Advanced DNS" tab
- Add two CNAME Records:
- Host:
webmail
, Value: Your server name - Host:
mail
, Value: Your server name
- Host:
GoDaddy
- Log into GoDaddy
- Go to "My Products" and select your domain
- Click "DNS"
- Add two CNAME records:
- Type: CNAME, Name:
webmail
, Value: Your server name - Type: CNAME, Name:
mail
, Value: Your server name
- Type: CNAME, Name:
Step 3: Configure SSL Certificates
After setting up your DNS records, you need to configure SSL certificates for secure connections:
- Log into DirectAdmin
- Navigate to "Account Manager" > "SSL Certificates"
- Select "Get automatic certificate from ACME Provider"
- IMPORTANT: Uncheck your primary domain
- Only check the
mail
andwebmail
subdomains - Click "Request" to generate the certificates
CRITICAL
You MUST uncheck your primary domain when generating SSL certificates for your custom hostnames. Failing to do so can cause issues with your primary domain's certificate.
Step 4: Using Your Custom Hostnames
Once DNS propagation is complete and certificates are issued (may take up to 24 hours):
For Webmail Access
- Use
https://webmail.yourdomain.com
to access webmail
For Email Client Configuration
- Incoming Mail Server (IMAP):
mail.yourdomain.com
- Outgoing Mail Server (SMTP):
mail.yourdomain.com
- For specific ports and encryption settings, refer to Email Server Settings
Subdomain Purpose Reference
Keep in mind the specific purpose of each subdomain:
webmail.yourdomain.com
: Used for accessing webmail through a browsermail.yourdomain.com
: Used for IMAP, POP3, and SMTP connections from email clients
Do not mix these subdomains' purposes in your configuration.
Troubleshooting
If you encounter issues with your custom hostnames:
- Verify DNS propagation using online tools like DNSChecker
- Ensure SSL certificates have been properly issued in DirectAdmin
- Clear your browser cache when testing webmail access
- Wait at least 24 hours for DNS changes to fully propagate
- Contact MXroute support if issues persist