This article will show you how to configure your domain to point at an external web service provider such as Wix, Squarespace, Weebly or others.
This article also assumes that you want to continue receiving e-mail into your Krystal cPanel account's mailboxes as normal.
These changes may require that you change the configuration of your email software. They will also mean that you will be unable to log into your webmail or cPanel account using your domain name. Instead, you will have to use your Home Server name (you should determine your home server name before you carry out this task).
Before you start: change your DNS records, not your nameservers.
Some website builders tell you to point your nameservers at them instead. That hands your entire DNS zone over to them, which takes your email records with it and undoes everything below - your mailboxes will stop receiving mail. If your provider offers a choice, always take the option that asks you to add or edit an A record at your existing DNS host. That is what this guide does.
Your email will keep working. Your MX records point at our mail servers by name, not at your domain, so changing your website’s A record does not affect where your incoming mail is delivered. The one record that does need attention is mail.yourdomain, and step 3 covers it.
It is also worth lowering the TTL on the records you are about to change to 300 seconds a few hours beforehand. If something goes wrong, your correction takes five minutes to take effect rather than several hours.
This article assumes that you have already logged into the cPanel account the domain is assigned to. We have a separate guide for the cPanel DNS Zone Editor that you'll be using to make these changes.
Open the DNS Zone Editor in cPanelClick on Manage next to the domain you'd like to point.Altering your "A" record If you want your apex domain (the domain name itself) - e.g. https://yourdomain.com - to point to the external web service then scroll down, and look for the entry for your domain in the Zone File Records. This is the entry that shows your domain without anything in front of it. Here is an example for the entry for the naked domain example.co.uk. Click the Edit link to open up the editor pane.Address: Take a note of the existing IP address (this is your homeserver IP address - we will need this later) and then change the Address field to the IP address provided by the external web service provider. In the example below the IP address is changed from 192.0.2.10 (the home server) to 203.0.113.25 (the external service). Those are documentation addresses - yours will be different. You'll need to use the IP address provided by your specific external service.Once you have made the change, click the Edit Record button to confirm the change. After changing your A record in this way it is important to ensure that your mail delivery continues normally. IMPORTANT: Please read 'Ensuring mail delivery is unaffected' below.
Altering your CNAME record Your external web service provider may also ask you to change the CNAME record for your www.yourdomain address. To do this, look for your www host entry and click on the Edit link.CNAME: Enter the new CNAME target in this field. This will be provided by your external web service provider.Once you have made the change, click the Edit Record button to confirm the change.
Ensuring mail delivery is unaffected By default, our spam filtering system sends your cleaned email to your apex domain. Because the domain now points to a third party IP address, your email delivery will be broken. This is easily fixed by carrying out two steps
Modify the mail.yourdomain DNS record to point back to your Server IP. Look for the mail.yourdomain CNAME record and click on the Edit link.Modify the mail.yourdomain DNS record to point back to your Home Server Type: change the record Type from CNAME to A Address: Enter your server's original IP address (you took note of this above in the section "Altering your "A" record") Once you have made the change, click the Edit Record button to confirm the change.
Alter your incoming email delivery route using the Spam Experts tools You must now log into the Spam Experts system via your cPanel account and change your delivery destination either to mail.yourdomain (in our example, this would be mail.example.co.uk) or you could change it to your Home Server name directly. The process is described in the article Managing SpamExperts - Email delivery destinations.
Email software configuration changes
If you were using your naked domain as the incoming and outgoing mail servers (e.g. example.co.uk instead of mail.example.co.uk) then you will also have to change your incoming and outgoing mail servers to either mail.yourdomain or your server hostname instead. All other configurations will remain unaffected.