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.
Sign in Cloudflare.
Replace your DNS provider's nameservers into Cloudflare-Nameservers.
- Click "Add Website" link on Cloudflare website.
- Enter your domain.
- Go to DNS area to add following DNS records:
- Make a cup of tea.
- Your website is live.
- Users can't see actual IP Address of your server over Browser Development Tools.
- Always redirect http to https.
Hope you enjoy this post.
Happy coding :)