I’m trying to setup a custom hostname, but when I attempt to access the custom hostname I get a 522 error, but if I access the domain that the CNAME is pointing to (which is mgwiki meowcat285 com), I’m able to access it (well at least the origin server is able to reply, it then sends a 308 to www moonglasses wiki).
What steps have you taken to resolve the issue?
I’ve tried changing the SSL mode setting in case it was some weird issue with the origin certificate not having www moonglasses wiki, but that doesnt seem to have fixed it. I’m not sure what else to try
So I’ve tried a few things, and now cloudflare is just doing an infinite 308 redirect on both domains. I can confirm by both inspecting my origins logs and doing a packet capture that these redirects are not being generated by the origin
I thought I had it set to full, but turns out that I had a rule that changed it to flexible. However I’m still having issues, I’m now getting a SSL handshake failed, but that may be due to how I have my web server setup. I’m gonna try changing something, I’ll let you know if it works
Alright, so I believe I’ve resolved this issue, I’m not entirely sure how I fixed the 522 error, but I fixed the SSL Handshake Failed by just setting my web server to allow http for that domain and re-enabling the rule that changes that domain to flexible.