Redirect domain to www


Hi there,

My current page rule wont work for some reason.
The outcome I want is that it should always redirect to www.

My current page rule is:

When I write “” in my web browser it just says the server isn’t found.
I have “Always use HTTPS” set in the Crypto tab as well.

Help please!


You need to set an A record for

The client first resolves the name before it can follow any redirect.

Non-authoritative answer:
*** Can’t find No answer


But, I’m using Google Cloud Storage for my www domain, what should I point just the domain to since it only is there for a redirect?



fredde me CNAME

But this could be dangerous if you are using for mail handling as well. Other records may be ignored when there is a CNAME on the root. But as long as the client does not know where to connect to every attemt will fail with a DNS error.

Whats the record type for A or CNAME?


I’ll try. is a CNAME to


It seem to work on my side now, what about yours?
I’ll doublecheck so my mail still works.



Just keep an eye on your mails and other records in this zone.
It seems to be fine currently:

;; ANSWER SECTION: 3599 IN MX 5 3599 IN MX 1 3599 IN MX 10 3599 IN MX 5 3599 IN MX 10
3.6.2. Aliases and canonical names


If a CNAME RR is present at a node, no other data should be
present; this ensures that the data for a canonical name and its aliases
cannot be different. This rule also insures that a cached CNAME can be
used without checking with an authoritative server for other RR types.



If you need to capture also additional pages outside of the homepage you need to add a * to the end of the matched string and a /$1 at the end of the redirect URL.

closed #9

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