How to use custom domain in blogger, not subdomain?

时间:2015-10-30 23:51:05

标签: dns blogger

I have blog on blogger example.blogspot.com and a domain example.com. I tried to use custom domain with blogger and added it to Blogger settings. Now my blog is hosted at: blog.example.com I want a CNAME or something to point my domain example.com to blog.example.com or example.com as my blog. I don't want the domain to Redirect to subdomain as it is bad for SEO. I have seen in Google Blogger Support that there is an option for redirect domain to blog's subdomain. But that doesn't appear on my Blogger settings?

2 个答案:

答案 0 :(得分:0)

Don't use blog.example.com. Instead use www.example.com . The option will appear in Blogger Settings to redirect example.com to www.example.com. Follow this to add A-Records for example.com in your Hosting Provider's DNS section.

答案 1 :(得分:0)

我遵循@游击队的步骤,但在2天后,example.com的地址解析失败了。但www.example.com正在发挥作用。所以,我在网络上的其他地方找到了解决方案!因为Google指南要求创建A-Record

example.com - > 216.239.32.21

example.com - > 216.239.34.21

example.com - > 216.239.36.21

example.com - > 216.239.38.21

多数民众赞成在哪里。

<强>解决方案:

  1. 使用www.example.com。该选项将显示在“Blogger设置”中,以将example.com重定向到www.example.com。检查一下。 (来自@guerrillaa)

  2. 添加以下A记录:

  3. @ - &gt; 216.239.32.21

    @ - &gt; 216.239.34.21

    @ - &gt; 216.239.36.21

    @ - &gt; 216.239.38.21