Setup up your own Domain Name and keep your emails.
Different scenarios and what to do on each case.
Pointing your domain to different services such as web hosting, emails, ftp, marketing tools, etc. from different providers it can become a difficult task. Domain settings, and the whole DNS system can be very challenging to understand, even to software developers.
On this guide we will help you to make changes on your DNS to correctly point your domain to any website without losing your emails hosted in a different place, it is meant for Jumpseller stores but these rules can work anywhere in most cases.
Content of this guide
- The Problem
- Previous Steps: Gather Information
- Scenario 1: The MX record is different from the text of your domain.
- Scenario 2: The MX record is the same as the text of your domain.
- DNS Propagation and Cache
Some hosting services offer Emails and Websites in the same server, this can become a security issue: A problem on your website can trigger a problem with your emails cutting your main connections to your customers.
If you already have emails in a server that also used to host your previous website, and want to keep it while pointing your domain to a new website such as your new Jumpseller Store, this is what you need to do.
Previous Steps: Gather Information
First thing to do is to be clear what are the required DNS to point your domain to your new Website, in the case of Jumpseller they are always the same, if your domain is example.com and your Jumpseller Store address is my-store.jumpseller.com, the most common configuration is to use www.example.com and example.com on your website:
Make sure you added the domain to your jumpseller store following these simple steps.
Next use a DNS Lookup tool to see what your current DNS records are, these are great:
We are interested in two DNS Records: MX Records and A record of the domain. For example lets use icann.com as a reference:
The results are placed on this table:
Notice that the Address on the MX record has a subdomain pechora.icann.org preceded with a 0: (it can be any number), it can also have a domain. From here we can divide the tasks in two scenarios:
Scenario 1: The MX record is different from the text of your domain.
Like in the example above: the text icann.com is different from pechora.icann.org. This is the easiest Scenario, just change your DNS to match the Jumpseller values, you should end with something like this:
Scenario 2: The MX record is the same as the text of your domain.
On our example with icann.com we had an ideal situation, but commonly you will find this:
On this scenario changing the A record to the value of your new website will break your emails, this is because of the problem described above. To prevent this you will create a secondary A record to redirect the emails to the current server, choose any word that is not currently present on your DNS, for example: secondary, redirect, old, etc. and create this A record:
We are assuming that the IP of your email server is: 126.96.36.199
After this change, add the rest of the records to match the Jumpseller values, it should look like this:
DNS Propagation and Cache
Finally wait for these DNS to propagate throughout the internet, this can take from 1 to 24 hours. The old DNS will be stored in cache on different levels, if after this period your domain does not reflect your changes try to flush your cache:
On Windows - Open your command prompt or click Run when you open your start menu. Then, enter the following command:
ipconfig /flushdns. If the command succeeds, you will receive the following message “Successfully flushed the DNS Resolver Cache.”.
On MacOS (Catalina) - Open Terminal (Application › Utilities › Terminal or click Go > Utilities > Terminal) Type
sudo killall -HUP mDNSResponderand press Enter to run the command.