Naked url redirect

We are trying to redirect naked domain example.com to www.example.com on both http and https. We already have CNAME entry for “www” pointing to example.azurewebsites.net in cloudflare. In primary domain provider side there is an entry for www.example.com pointing to www.example.com.cdn.cloudflare.net.

Will the below change work for naked domain redirection. Create one more dns entry in cloudflare for example.com:Type = CNAME, NAME = example.com, Value = example.azurewebsites.net(same as www) and make sure it’s orange like the www entry. Then create page rule 301 permanent redirect. Have dns entry in primary dns provider with cname for example.com pointing to example.com.cdn.cloudflare.net

Here’s the easiest redirect:

This topic was automatically closed after 31 days. New replies are no longer allowed.