Table of Content
How To Connect Custom Domain Blogger To Cloudflare - Hello blogger everything, come back again on my blog this is Gudio Blog. For those of you who have just visited my blog for the first time, for you to know, Gudio Blog discusses programming, both web, desktop and mobile (especially mobile games), tips and tricks on blogs, android and others about technology.
According to the title of this article about Connect Custom Domain Blogger To Cloudflare, this time I will discuss about how to make it. For those of you who don't know yet, what is "Custom Domain" and How Do You Create Blogger Custom Domains? You can read my article before in the link below:
Before I go to the topic of discussion, maybe some of you don't know what Cloudflare is?
What Is Cloudflare?Based on the wikipedia source
Cloudflare, Inc. is a U.S. company that provides content delivery network services, DDoS mitigation, Internet security and distributed domain name server services. Cloudflare's services sit between the visitor and the Cloudflare user's hosting provider, acting as a reverse proxy for websites. Cloudflare's headquarters are in San Francisco, California, with additional offices in London, Singapore, Champaign, Austin, Boston and Washington, D.C.
So, Cloudflare is a CDN (Content Delivery Network) that has good features. And arguably Cloudflare is also a network of content senders that has a task as a proxy between the website and its visitors. Serving cache of static content from nearby locations, and this is one of the factors that can make web loading faster. Simply put, Cloudflare acts as a bridge between visitors and website servers. What is the purpose? the goal is that the website can avoid dangerous attacks from visitors.
So you all know, visitors to a website can we distinguish into 3 types, namely:
- Regular Web Visitors: are website visitors who intentionally want to see the website or just read articles on your website.
- Crawling and Robots. This crawling and robot is a program or program code that aims to scan every page of the website. This crawl is quite important so that the website you have can be indexed quickly on Google, Bing or Yandex. If you often upload your website sitemap to Webmasters like Google Webmaster, Bing Websmater or Yandex Webmaster, you will often hear the term from this crawl. Because Webmasters (Google, Bing, Yandex, and others), when we upload our sitemap, their robots will work to crawl and scan the sitemap that we upload so that our website or our articles can be indexed on their search engine.
- The attacker, this attacker is a regular visitor too, but their purpose is not to read articles on the website but their aim is to attack the website that we have. Have you ever seen a hacked website? Yes, that is the act of the attacker.
So, with Cloudflare as this bridge, your website will be safe from various attacks from outside that can harm you as a website owner. (we know, there is no guarantee of 100% security, there must be a little gap. But at least, using Cloudflare or other CDNs, it's better than we don't use it.)
In addition, Cloudflare also has facilities such as the following:
- Secure DDoS attacks.
- Getting an SSL certificate that is easy and free (we will discuss this in the future)
- Network Gateway between protocols.
Some of the benefits that you can get by using Cloudflare:
- Directing visitors to the nearest location, in the sense that visitors will be directed to the location of the nearest data center from the location used by visitors to access your website. So of course, by pointing to the nearest location, visitors will feel a fast loading of web pages.
- Oversee Dangerous Traffic. Cloudflare will process access requests from visitors and analyze the request. This will be seen from the number of requests, IP Address, what sources are accessed and how often to make the request. If it looks like a threat, Cloudflare will block the access request.
Above, we could mention the CDN.
What is CDN?
CDN (Content Delivery Network) is a technology as a mirror of the content of our website. So by using this CDN, our website content such as CSS, JS, image, video will be mirrored on a backup server located in various countries. So for example, you are from Indonesia and there are visitors from Europe who access your website, so visitors from Europe will be directed to a CDN server located in Europe. Because if you don't have a CDN, European visitors who access the website from Indonesia, there will be a time out.
How does it work? (How CDN Work)
When a visitor loads a website page, the visitor will send a request to the destination server and the server will respond by sending files for loading the website. And one that affects the loading speed is the distance of the server from the visitor. So the logic is, the farther the distance between the visitor and the server, the longer the loading takes place and so also the closer the distance between the visitor and the destination server, the faster the website will load. And this is where the role of the CDN makes the loading of a website faster. Do you understand my explanation? hope you understand.
Okay that's just an explanation from me and so you don't get bored waiting, now we will continue to the topic of our article today.
How To Connect Custom Domain Blogger To Cloudflare
Before you have to have a custom domain on blogger, if you don't know what is a custom domain and how to make it, you can read my article in the link below:
1. Create a Cloudflare Account
First, you have to log in to Cloudflare, you can click the following link: https://www.cloudflare.com/.
If you don't have an account, please create an account first. Take it easy, making an account at Cloudflare is free, but if you want to get more facilities on Cloudflare you really have to spend some money.
And like registering on web sites as usual, you input your email and password, then later there will be a confirmation link to the email you registered. I will not explain in detail how to register, because I'm sure all of you will have registered frequently. Right?
2. Add Sites To Cloudflare
If you have successfully logged in and are on the dashboard page, the next step is to add your site to cloudflare. Just click the "Add Site" button, the form will appear as below to add the site.
3. Change the Nameservers
For this part, there may be a slight difference depending on where you buy the domain. On this site, I bought a domain at hostinger. Login to your cpanel (based on where you purchased the domain), then make changes to the nameservers on your domain with the nameservers provided by Cloudflare, as below:
4. Set DNS at Cloudflare
If you have finished setting the nameservers above, then you will be directed to make DNS settings on Cloudflare. All you need to input into this DNS is, the CNAME provided by blogger when you do a custom domain. You forget? take it easy, when you do a custom domain, you will definitely enter CNAME blogger on cpanel where your domain is. So please enter your domain cpanel and look in the DNS Zone section.
then input the two CNAMEs of the blogger in the DNS settings at Cloudflare.
If you have finished setting the settings as above. Your blog should now be connected to Cloudflare. (For 100% to be able to connect to Cloudflare, you have to wait about a few minutes or maybe up to 1 hour).
Anytime you can easily pause or even delete your site so that it is no longer connected to Cloudflare. By selecting the "Overview" menu and scroll down until you find "Advanced Option" like the following:
If you delete your site from Cloudflare, then you must restore the Nameserver settings on your domain cpanel as before.
If you see a menu on the Cloudflare dashboard, you will see many menus and lots of settings. Among the menus and settings are free and some are paid and you have to upgrade your account if you want to use the paid settings. And below I will also explain to you how to get free SSL from Cloudflare. cool isn't it? Usually if you want to get SSL, you have to spend some money, but with Cloudflare you can get it for free.
What is SSL?SSL (Secure Socket Layer) is a security layer used to protect transactions on your website using sophisticated encryption technology. And of course, if your website uses SSL, your website will be safer. On the type of website that uses SSL, the address of the website will change to HTTPS and has a padlock icon in the browser address bar and you can click the padlock icon to see the type of SSL, encryption technology used and who owns the website.
What are the Benefits of Using SSL?
Below are some of the benefits that you will get if you use SSL:
- Increase the trust of your website visitors.
- If your website contains product sales, login and registration, then your data will be safe and encrypted.
- Websites that use SSL / HTTPS get a better SEO ranking than Google compared to websites that don't use it.
But before you protest to me, the type of SSL that you get from Cloudflare, may be limited and not like you buy SSL. One of them is, when you buy an SSL, it will usually be your company name in the address bar but with SSL that you get from Cloudflare for free, you cannot show the name of the company. But in my opinion it's pretty fair, because we get SSL for free, there must be limits.
How To Get Free SSL From Cloudflare?
To get free SSL from Cloudflare this is very easy, on the dashboard menu at Cloudflare, point your choice to "Crypto" and in the SSL box, select "Full" as shown below:
And wait until there is the word "Universal SSL Status Active Certificate", and that means that your site has managed to get SSL.
But if you are not satisfied with free SSL, you can pay to get a premium SSL, you scroll down and in the "Edge Certificates" box then select "Order SLL Certificates", then the type of SSL that you will order appears.
Conclusionhow easy is it to get SSL from Cloudflare?
Hopefully what I wrote in this article can be useful for all of you. And can provide solutions for those of you who need it. If for you my writing is interesting and useful, please share my writing to your social media and don't forget to follow me on social media to get the latest information.
See you next time with other interesting articles.