Step 1: Go to www.cloudflare.com and click the sign up link at the top of the page.
Step 2: Create a Cloudflare account by typing your email address and password. Click Create account now to proceed.
Step 3: Enter the domain for your website and then click Begin Scan. It's not necessary to add "www" to the domain. For example, if your website is www.example.com, type example.com.
Step 4: Cloudflare scan your domain's DNS records. This will take approximately 60 seconds to complete. Once the DNS scan has finished, click Continue.
Step 5: A list of all the DNS records found is displayed, including your subdomains.
Step 6: Select a plan that fits your needs and then click Process and continue.
Step 7: On the final step, you are given the Cloudflare nameservers for your domain registrar end.
Step 8: Now, you have configured your website in cloudflare.