hello
i have a domain
when i open https://mysite.com it not redirect to https://www.mysite.com
but when i open http://mysite.com it redirect correctly
i made page rule, but not effective
what should i do?
hello
i have a domain
when i open https://mysite.com it not redirect to https://www.mysite.com
but when i open http://mysite.com it redirect correctly
i made page rule, but not effective
what should i do?
What is the domain?
Can you show a screenshot of your page rule?
Change the Page Rule redirect to be from *poshtepardemakki.us/*
.
The destination URL can be https://www.poshtepardemakki.us/$2
if you want to include any paths in the redirect.
Delete the CNAME DNS record for poshtepardemakki.us
and add a proxied record for it (@
) as AAAA 100::.
For the DNS record you have selected CNAME, you must select AAAA from that dropdown instead (don’t put AAAA in the target, only 100::
).
The page rule is spotting the possiblilty of circular redirect (although it won’t happen as www
is not proxied). Instead then, delete the Page Rule and create a Redirect Rule like this…
Thanks, worked, can you please just teach me something
what 100::
doing? its first time i using this
and what doing AAAA ? i usually used just A
Thanks.
It is just a dummy record that points nowhere. You need a DNS record so your hostname resolves, it needs to be proxied so requests pass through Cloudflare, but it doesn’t actually get used. The advantage of a dummy record is that if your redirect is removed, then requests just time out.
AAAA indicates IPv6 (100::
is an IPv6 address). You could use A 192.0.2.1 instead (also a dummy record that’s used for examples and goes nowhere), but either is OK to make the redirect work.
You could use a real IP address as they are just ignored, but these are useful to remind you the DNS record is for redirecting only.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.