Sun

How to link domain to Blogger, GitHub, and WordPress platforms?

  1. Home
  2. Knowledge Base
  3. Domains
  4. How to link domain to Blogger, GitHub, and WordPress platforms?

This article would explain how to link your domain to Blogger, GitHub, and WordPress platforms.

Blogger

To direct your custom domain to your Blogger account, you need to follow these steps:

1. Firstly, you need to set up your domain in your Blogger account. You can do that here.

The explanation is described here.

2. After adding a domain to your Blogger account, you will get 2 CNAME records that you will need to add those records to your DNS manager along with the A records. The DNS manager you should find by following these directions:

Services –> DNS –> DNS manager

Attention #1: You will be able to use our DNS manager only then your domain will use our nameservers:

ns1.hostens.com (162.159.24.83)
ns2.hostens.com (162.159.25.171)

3. Click on the domain and add the required 6 DNS records:

Add these 4 A records that point to Google IPs:

  1. 216.239.32.21
  2. 216.239.34.21
  3. 216.239.36.21
  4. 216.239.38.21

You should leave the ‘Name’ value blank.

Then add 2 CNAME records:

  • CNAME for www mapped to ghs.google.com;
  • CNAME record with values provided in the Blogger account. This record’s value is different for each person and is specific to your Google Account and your blog.

It should look something like this:

Attention #2: Please ensure no other A or CNAME records redirect your domain’s records with different values. However, if there are any of these records, you will need to remove them from your DNS Manager.

Attention #3: CNAME records and A records can take approximately 30 minutes to an hour for newly-created DNS records to propagate the internet.

Once records propagate on the internet, you will need to follow some steps that are provided in this guide, Step 1: Set up your domain in Blogger.

GitHub

Firstly, you need to add your custom domain to your GitHub Pages site before configuring your custom domain with your DNS provider. The explanation you can find here.

Then you will need to create for your domain 5 DNS records:

  • A record for pointing your domain to 185.199.108.153
  • A record for pointing your domain to 185.199.109.153
  • A record for pointing your domain to 185.199.110.153
  • A record for pointing your domain to 185.199.111.153
  • CNAME record for www pointing to your username.github.io (You should use the username you use in your GitHub account platform).

It should look like this:

Then these records should propagate within an hour.

Attention #4: Be sure that all conflicting A and CNAME records are removed for your domain. Otherwise, required DNS records for GitHub might not propagate on the internet.

WordPress

If you want to link your domain to your WordPress website, you will need to follow these steps:

1. Firstly, you will need to map your domain to your WordPress account.

2. After that, you will need to open your domain DNS records in DNS manager and change your domain nameservers to WordPress:

ns1.wordpress.com
ns2.wordpress.com
ns3.wordpress.com

You should leave the ‘Name’ value blank.

In general, DNS change can take from a couple of hours up to 24-48 hours to fully propagate on the internet. In this case, for the change to take full effect, you should wait for at least 24 hours.

Attention #5: If your domain is connected to other 3rd party services that are not hosted on WordPress platform, for example, email, you will need to configure custom DNS records by following this guide.

 

Was this article helpful?

Related Articles