Http redirect to www

Hello dear community, i have website on www.datoby.cz ( www have cname ) so my visitors need to put www.datoby.cz to open my site. I want to open my site only with http://datoby.cz and https://datoby.cz i have page rules but it doesnt work

In order for the Page Rule to work you need to have a DNS record at the root, currently you do not.

This can just be a Dummy rule, so a AAAA record pointing to 100:: works just fine.

You can also replace the first two Page Rules with one Page Rule that targets:
datoby.cz/* with the permanent redirect sending users to https://www.datoby.cz or https://www.datoby.cz/$1

If you leave out the protocol it will match both http and https.

Thank you for ur fast responde, how that root record shoud looks like please ?

Like this:

2 Likes