Redirect from root to www not working

I redirected (301 Permanent) mydomainDotcom/* to mydomainDotcom/$1 . Yet when someone access my root page, they get an error

If that’s what you actually did, then that just redirects a domain to itself.

Assuming those domains are actually different, then ensure you have a DNS record for the domain/subdomain you are redirecting from. Use a dummy proxied value of A 192.0.2.1 or AAAA 100:: as this is just for redirect.

Otherwise, can you give you the domains?

1 Like

My mistake, that’s not what I did. I redirected mydomainDotcom/* to www.mydomainDotcom/$1

The problem was immediately solved when I added an A record pointing to 192.0.2.1, and Proxy toggle switch set to on!

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