Monday, June 12, 2023

How to setup a custom domain for your blog?

 To set up a custom domain for your blogspot blog, you need to follow these steps:

- Register a domain name with a domain registrar of your choice, such as Google Domains.

- Log in to Blogger, go to Settings > Publishing > Blog Address. Click on Add a Custom Domain Name.

- Enter your domain name with www prefix, such as www.example.com. Click Save.

- You will see an error message with two CNAME records that you need to add to your domain's DNS settings. Copy these records.

- Log in to your domain registrar's website and find the DNS settings for your domain. Add the two CNAME records that you copied from Blogger.

- Optionally, you can also add four A records to point your naked domain (example.com) to Google's IP addresses: 216.239.32.21, 216.239.34.21, 216.239.36.21, and 216.239.38.21.

- Wait for the DNS changes to propagate, which may take up to 48 hours.

- Go back to Blogger, go to Settings > Publishing > Blog Address and click Save again.

- Your blogspot blog should now be accessible from your custom domain.