New Subdomain

I created a new subdomain. my website is smartsavingandspending.com. My new subdomain is learn.smartsavingandspending.com. However, when I try to log into the Wordpress dashboard from Bluehost, I get an error stating:

“the requested url was not found on this server” and additionally a 404 not found error was encountered while trying to use an error document to handle the request.

Your suggestions are very much appreciated!

That’s server related. If you’re running learn. on the same server you need to configure Apache / nginx accordingly and point it to the correct document root.

Is this something Cloudflare can do for me or is this something I have to do on my own?

For now, set the “learn” DNS entry to :grey: (DNS-Only) and get that subdomain working with HTTPS at Bluehost. Once that’s all working, you can :orange: proxy it again and it should be fine with Cloudflare.

Thank you so much!!! That was very helpful. I noticed the IP addresses for my domain and subdomain are the same. Is that ok?

They usually are. It’s because they’re on the same server.

Since the subfolder is /learn you could create a page rule like

*learn.yourdomain.com/*

Forwarding URL -> 301 Permanent Redirect
https://yourdomain.com/learn

1 Like

Thank you! I am now getting a notice that says “your connection is not private” with an error that shows NET::ERR_CERT_COMMON_NAME_INVALID
I can either click on “advanced” or “back to safety” (which goes to Bluehost)

I am not getting a 522 error. How do I fix this? I greatly appreciate any suggestions.

A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.

I am getting a 522 error on my subdomain website. Any suggestions on how to fix this would be helpful.

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