How to add www to your website on Cloudflare
After you add your site to the Cloudflare, you mind wondering how to add www to your naked domain. Here is how:
- Go to your Cloudflare dashboard then click on the Navbar-> DNS.
- Then scroll down to add an A record and point IP to 192.0.2.1
- Go to the Rules
- Deploy a page rule like this
URL’s last character ‘*’ means forward all pages and keep the path
Thanks to DOMJH — Redirect www.example.com to example.com