Score:2

Error trying to set my site up with Cloudflare

jp flag

I'm trying to add Cloudflare to my site - my site is a basic Azure site - it doesn't have a custom domain, (e.g. https://mysite20210708071234.azurewebsites.net/ - this is not the actual site).

I go to Cloudflare and add a new website, and I get the error:

mysite20210708071234.azurewebsites.net is not a registered domain

I've done a fair bit of googling, but all I can come up with is instructions to configure a custom domain - which I don't have. My guess is that I need to configure something in Azure to allow Cloudflare to "see" the site - any ideas?

sv flag
Welcome to ServerFault. You can use Cloudflare only on domains that you can control such as by owning a domain.
Score:3
hu flag

I'm afraid you won't be able to do that. Cloudflare allows for registering root domains, you can't do that with a subdomain. However, you can buy some domain, register it on Cloudflare, point A/AAAA entries to a Azure site you have and change the webserver config to listen to this domain.

In that way you'd be able to use Cloudflare proxy for sure.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.