January 5, 2025
How to point a domain registered at Cloudflare to Siteground
[some hints: https://community.cloudflare.com/t/how-to-point-a-domain-registered-on-cloudflare-to-siteground-domain-servers/450436/3]
Cloudflare doesn’t allow the change of the Name server (NS) but web-hosting and emails can be pointed to Siteground.
- Install the new domain on Siteground
- Install WordPress
Follow the TWO STEPS below
1) STEPS TO POINT THE WEBSITE (A record)
Point the domain’s A records to Siteground.
STEP 1: GET THE IP ADDRESS FROM SITEGROUND
Visit Siteground admin page and get the IP address of the server assigned to your domain.
Go to your Client Area
Select Websites
Choose the website you want to check
Click the kebab menu next to the website
Click Website Settings
Click the kebab menu again and select Server Details
The website’s IP address and name servers will appear in the light-box
STEP 2: UPDATE THE RELEVANT DNS ZONE AT CLOUDFLARE (for your domain)
With that IP address at hand, you can go to https://dash.cloudflare.com/?to=/:account/:zone/dns, pick your zone, and create an A record pointing to your origin server.
Go to “DNS” (DNS setup) DNS records
Go to the section “DNS management for [domain name]”
Click “Add record”
Pick A (default)
Put in the name of the domain in the “Name” box
Put the IP address (from Siteground) in the IPv4 address box
Click “save”
STEP 3: Also create another A record with Name: “www”, pointing to the same IP address.
PROBLEM! The IP address obtained by this method was WRONG. I had to raise a chat with Siteground. In the chat they provided the correct IP address. (THEY GIVE OUT THE CORRECT IP ADDRESS WHEN YOU START A CHAT, SO USE THAT !)
2) STEPS TO POINT THE MAIL SERVER (MX record)
Point the domain’s MX records to Siteground
These are the MX records for Siteground (see https://www.siteground.com/kb/point-mail-service/ )
10 mx10.antispam.mailspamprotection.com
20 mx20.antispam.mailspamprotection.com
30 mx30.antispam.mailspamprotection.com
The first two digits (10, 20,30) are the PRIORITY numbers
At Clouflare go the same place where you updated the IP address (A record) and create THREE MX records, as above. You’ll need to scroll down the drop down menu to find MX. Do this ONE BY ONE -save each time. Make sure to enter the priority number.
In the end it should look like this:
