Redirect www subdomain to apex at the DNS level?

My question is simple. I have a website, napkin.tech. Is it possible to redirect www.napkin.tech/<whatever> to napkin.tech/<whatever>? Could this be done at the DNS level? If I setup a CNAME that points www to @, then www.napkin.tech/<whatever> shows the content of napkin.tech/<whatever>, but I want the URL to change if possible. Thanks.

Hi @sirnapkin,

This is absolutely possible, but not with just DNS, you need a page rule too.

This tutorial covers it and the wildcards used will forward the path, so www.example.com/page will go to example.com/page.

1 Like

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