To create a custom domain on your Blogspot (Blogger) blog, you need to register a domain (like example.com) and then configure it to work with Blogger. Here’s a step-by-step guide:
Step 1: Register a Domain
1. Purchase a custom domain from a domain registrar like Google Domains, GoDaddy, Namecheap, Bluehost, etc.
Step 2: Access Blogger Settings
1. Log in to your Blogger account.
2. In the left sidebar, select the blog you want to set up with the custom domain.
3. Go to Settings > Publishing > Custom domain
Step 3: Enter Your Custom Domain
1. Under "Custom domain," enter your new domain name (e.g., `www.yourcustomdomain.com`). Make sure to include "www" because Blogger doesn't support naked domains (without "www").
2. Click Save. You will likely see an error message at this point; this is normal.
Step 4: Get CNAME and A Records
1. Blogger will show an error and provide you with two CNAMEs that you need to add to your domain's DNS settings. One CNAME will point to `ghs.google.com`, and the other will be a unique code that Blogger generates for your blog.
Step 5: Update DNS Settings
1. Go to your domain registrar's website and log into your account.
2. Find the DNS settings or DNS management area (this varies depending on the registrar).
3. Add the CNAME records:
- First CNAME: Enter "www" as the host and point it to `ghs.google.com`.
- Second CNAME: Use the unique code provided by Blogger.
4. Add A records to point the naked domain (without "www") to Google's IP addresses. Add four A records with the following values:
- `216.239.32.21`
- `216.239.34.21`
- `216.239.36.21`
- `216.239.38.21`
Step 6: Wait for DNS Propagation
- DNS changes can take anywhere from a few minutes to 48 hours to propagate fully.
Step 7: Confirm Custom Domain on Blogger
1. After waiting for some time, go back to your Blogger settings.
2. Try saving the custom domain again. If the DNS settings are correct, it will save without any errors.
Step 8: Redirect Non-WWW to WWW (Optional)
- To redirect visitors from `yourdomain.com` to `www.yourdomain.com`, go to Settings > Publishing in Blogger and enable the redirect option.
Once these steps are completed, your Blogspot blog should be accessible via your custom domain.
No comments:
Post a Comment