Unsolved DNS CNAME and Cloudron Redirect for WWW
I noticed that Google's link to my site was returning "You have found a Cloudron out in the wild" because it was using "www."
I tried to fix this by adding a redirect for www in Cloudron and then by deleting my www CNAME record in DNS.
Unfortunately this didnt work and now my entire site is returning "You have found a Cloudron out in the wild" for both www and non-www.
I added the CNAME back into the DNS but now I can't undo the Cloudron redirect because it says a CNAME record for with that host already exists: "Error : External Error - message: A CNAME record with that host already exists. statusCode: 400 code:81054"
Any ideas on how to get my site back up?
Apparently you are using an automated DNS backend with Cloudron. DNS is a bit tricky with caching, so if you remove the CNAME and set a redirect or alias (depending on how you want it to be setup) within Cloudron should create the entries at the nameservers if that task does not error.
Once done check your nameserver dashboard for those records. If that looks valid, it may take quite a long time to fully propagate. Especially if you have maybe accessed that domain in-between and your system thus has hit NXDOMAIN error, then it maybe failing for you for up to an hour or so!
You can also send us a mail to firstname.lastname@example.org with your domain name then I can run a few checks from here.
This doesn't directly answer your question but might help debugging. You see the "You have found a Cloudron out in the wild" page when you point an arbitrary subdomain to the Cloudron server IP. It is essentially a "I have no clue what this domain page is" page.
With the above understanding, the first step is to make sure that Cloudron knows about this subdomain. For example, if you just put a DNS CNAME record to Cloudron server, this is not enough. Cloudron needs to know about this new subdomain you added - this is required so that it can setup certs and also setup nginx to serve the right app (if you have 10 apps on your server, what should Cloudron serve up for this subdomain?).
The way to let Cloudron know is to use redirects - https://docs.cloudron.io/apps/#redirections and I suspect this is what you are missing. Just add the "www" in the redirect section of the app in Cloudron dashboard. Some specific apps also allow aliases - https://docs.cloudron.io/apps/#aliases
@eddowding There doesn't seem to be a DNS entry at all. Can you check if
wwwentry is there in cloudflare?
$ host www.roundbear.org Host www.roundbear.org not found: 3(NXDOMAIN)