You can link your domain name to your Blogger account, a free platform designed for people who want to publish blogs, by following these steps.
Before you begin, you must have already registered a domain name with a .ma or other extension.
Table of Contents
How to link a domain name with Blogger?
To link your domain, you need to make changes both on the Blogger platform and in your client area.
On your Blogger interface
1. Click on Settings > Basic > Edit > Add a custom domain
2. Enter your custom domain name with “www”. Example: www.yourdomain.com and click “Save”.
If you see this error message “We were unable to verify your rights to this domain. Error 12.”, it means Blogger was unable to confirm that the domain belongs to you.
In this case, Blogger provides you with two DNS records for your domain name: The first CNAME name is the same for everyone, with the Name being “www” and the Destination being “ghs.google.com”. The second CNAME name is unique to your blog and your Google account, so it is different for each person.
4. Copy these two records.
In your client area at Cap Connect
5. Click on “Domains”
6. Click on “DNS Zone Management” on the row for the domain in question.
7. If the DNS zone is not created, click on “Yes, Create”
8. Modify the line of the first CNAME record “www” provided by Blogger by replacing the text in the Address/Value field with ghs.google.com.
9. Add the second CNAME record given to you by Blogger under Add New DNS Record at the bottom of the page, add the record and click on Save Changes.
10. In the domain name field with the A record, replace the server’s IP address with Google’s 216.239.32.21.
11. Add the 3 A records pointing to IP addresses 216.239.34.21, 216.239.36.21, and 216.239.38.21.
Your initial Blogspot address will automatically redirect to your new domain. If you still encounter an error after 24 hours, it means that your configuration was not entered correctly. You should repeat the process.
* Note: Propagation of these changes usually takes between 1h and 24h