This content originally appeared on DEV Community and was authored by 1001binary
Suppose you have hosted your website. One day you want it more secured, DDos mitigation and faster. Don't worry! Cloudflare can help you. Cloudflare provides services such as CDN, DDos mitigation, internet security and so on. Cloudflare sits between users and your hosting server. This means that Cloudflare will handle requests from clients before going to web server. Cloudflare offers free and paid packages. This depends on your needs.
The following is steps by steps to integrate your website into Cloudflare:
Register a new account at Cloudflare.
https://dash.cloudflare.com/sign-upSign in Cloudflare.
https://dash.cloudflare.com/loginReplace your DNS provider's nameservers into Cloudflare-Nameservers.
Name | Server |
---|---|
NS | abby.ns.cloudflare.com |
NS | tom.ns.cloudflare.com |
- Click "Add Website" link on Cloudflare website.
- Enter your domain.
- Go to DNS area to add following DNS records:
DNS Type | Name | Value |
---|---|---|
A | www | [IP_ADDRESS_OF_YOUR_SERVER] |
- Make a cup of tea.
- Your website is live.
Cloudflare's Benefits:
- Users can't see actual IP Address of your server over Browser Development Tools.
- Assets of your website will be automatically cached such as JavaScript files, Stylesheets and so on.
- Always redirect http to https.
- ...
Hope you enjoy this post.
Happy coding :)
This content originally appeared on DEV Community and was authored by 1001binary
1001binary | Sciencx (2021-04-16T10:09:55+00:00) Integrate your website into Cloudflare. Retrieved from https://www.scien.cx/2021/04/16/integrate-your-website-into-cloudflare/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.