Although the common practice is to use the same host account for both email and website, you can run the two services on two different servers.
The article discusses the reasons why you may consider hosting your emails on a different server and how to do the setup.
By default, a hosting company provides email functionality with the website hosting. This makes it appears as if the two are inseparable while in the actual sense, they are completely separate services that can run independently of one another.
There are several reasons why you may consider running the two on different servers. These include:
Hosting the email service with a different provider improves reliability and avoids a complete shutdown when a server fails. If using one server, an outage or shutdown means that your customers and other users will not reach you on the website and email.
This may happen due to a malfunction or when the provider is maintaining the systems. But if they are on different servers, at least one will be functional if the other goes down. In addition, the website developer will not touch the emails hence reducing the chances of something going wrong.
Migrating a website and emails running on the same hosting server to another is more complex and challenging, especially for people who are not conversant. In particular, moving the email accounts is more challenging. However, if they are on a different server, moving the website alone to another host is much easier and does not risk your email accounts and data.
If one customer in on a shared hosting server is sending spam, you risk damaging your site’s reputation. This will lead to blacklisting of the shared IP which will consequently block emails from your domain.
Although a VPS can help you to avoid this, it may be out of your budget and hosting your email on a different server is usually a better option.
To host your emails on a different server from that of the website, you need to change the Mail Exchanger (MX) record in your domain’s DNS records. The MX records are the ones that point to the server hosting your email and can be local if together with the website, or remote if on a different location.
To point your email away from your current account, you need to obtain the MX destination details from the provider who will host the emails. With these details you can either delete the existing MX record and add a new one or simply edit the existing. Unlike some other records, MX accepts the name of the mail server only and does not work with IP addresses.
The DNS records may be in another location, but you must have access to them. Some registrars may provide you with an interface to edit the DNS records while others allow you to set your own on a different server away.
For the purpose of this article we will perform the process using cPanel.
Log in to the cPanel account using the syntax;
http://yourdomain_name.com:2083 or http://yourdomain_name.com/cpanel.
There are two options of working with the MX records. You can either
This provides with the option to add the Destination server’s Fully qualified domain name and the Priority to assign to the record.
If you will host you emails on Google servers, use the following as the destination’s fully qualified domain names.
Similarly, if you will host you emails on Namecheap servers, use
The new server setting takes some hours to be become active. Generally, it takes about 48 hours for the the new server settings to become active. However, this varies according to the provider and some can take as low as 3 hours.
This will give you the option to only add the fully qualified domain name for the destination as well as the priority.
Instead of adding a new record, you can simply edit the existing and replace the old values with those for the new server.
Once you configure the MX records to point to the new destination, you need to change the routing. The email routing settings determine how the domain handles outgoing emails and has the following options.
To configure email routing;
Most hosting companies tie the email and web hosting together while these are completely separate applications. Although this looks convenient, it may the domain owner the flexibility and freedom to move around the emails. In addition, it increases the probability of completely getting the customer offline in case the website hosting has issues.
To improve reliability and availability, the domain owner can host the emails away from the website. This requires signing up with the reliable email hosting provider, configuring the MX records to point to the new destination server and selecting the remote mail exchanger to route the domain’s incoming emails.