522 Connection Timeout Error for root domain

https://www.mefyi.com works while https://mefyi.com gives 522 Connection Timeout Error. The domain registrar is Cloudflare.

Please let me know if any further information is needed :slight_smile:

Your pages app is not configured to serve that hostname.

1 Like

Thanks for the pointer! But it seems root will no longer redirect to www. Is there a way to preserve the redirect like Netlify?

Configuration of Cloudflare pages requires,

Update: Page rule does the trick!

https://mefyi.com/*
Forwarding URL (Status Code: 301 - Permanent Redirect)
https://www.mefyi.com/$1