How to use a customised domain name for Blogger (part 2)

Procédure

Part two: linking my domain to Blogger

In this second part you are going to set up the second Blogger record and the redirection of your domain.

1 In this part we're going to add the CNAME record to our DNS Zone:


To do this, choose CNAME as the field type and add the Blogger information.

How to use a customised domain name for Blogger (part 2)

2. Next, to redirect your domain name from mondomainelws.fr to www.mondomainelws.fr you need to place an .htaccess file at the root of your hosting with the following content:


RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTPS_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

Note: If you only want to link a sub-domain to Blogger (e.g. blog.mondomainelws.fr) and use the main domain (mondomainelws.fr) to display your LWS-hosted site, you can skip step 2.

3. Then in the Blogger account settings (step 7 of the first part of this tutorial) click on the Save button, this time the message"We were unable to verify your rights to this domain" will have disappeared to mean that the domain is correctly linked to Blogger.

How to use a customised domain name for Blogger (part 2)

Conclusion

You are now able to use your LWS domain name with your Blogger website. Blogger is an online platform that lets you create your blog easily and without any knowledge.

Don't hesitate to share your comments and questions!

help.lws.net/a/1295
Was this article helpful?

Yes

No

Read 25 423 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

RGPD : Responsable LWS-Ligne Web Services. Finalité : modération et publication publique de votre question, notification éventuelle d'une réponse. Base légale : consentement (art. 6.1.a RGPD). Conservation des emails : 90 jours après notification, 12 mois maximum sans réponse. Vous pouvez exercer vos droits via notre nos CGV - section RGPD.