DNS records to enable www in web address

Currently if you input ‘www.example.com’ in to the address bar it removes the www and just shows ‘example.com’.

What records should I change or add to make it force ‘www’ in the address?

It may be a browser related thing rather than a DNS or server issue.

The DNS name is resolving since users are going to the site. If your origin server (or a Cloudflare page rule) is configured to redirect requests for www to the root you can change that behavior in you page rule or on your origin server (DNS can’t change that)… but it could just be Google or another web browser vendor being (un)helpful.

Thanks for that link just tried few browser etc no is a DNS issue here.

Found the answer. It was my .htaccess file making a rewrite rule!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.