Problems with subdomains

Hi,

I’ve configured Cloudflare for two of my subdomains test.fitness.com.hr and novi.fitness.com.hr and when I want to reach these subdomains I get error message:

"This site can’t be reached

www.test.fitness.com.hr ’s server IP address could not be found.

  • [Try running Windows Network Diagnostics](javascript:diagnoseErrors()).

DNS_PROBE_FINISHED_NXDOMAIN"

In my domain DNS domain settings we configured Cloudflare nameservers (karina.ns.Cloudflare.com, phil.ns.Cloudflare.com) and on Cloudflare we want to test traffic first through that 2 subdomains (how it looks like in Cloudflare DNS settings you can see it here Cloudflare hosted at ImgBB — ImgBB)

What may be the problem?

Well, the message is pretty clear. It cant find “www.test” and that is because you havent defined that record. The reason why it tries to find it in the first place will be a redirect which your server sends when you send a www-less request.

Either remove that redirect on your server or set up these records. Keep in mind though, “www.test” will work on HTTPS only if you have purchased a $10/month dedicated certificate from Cloudflare.

1 Like

Ok, thanks for your reply.

I’ve setted up also a www.test.fitness.com.hr CNAME record now and bought a dedicated certificate.

Now it works fine but I have to go on site only throught www.test.fitness.com.hr because test.fitness.com.hr doesn’t work.

One more question - when I typed domains for this dedicated certificate I typed
*.fitness.com.hr
fitness.com.hr
novi.fitness.com.hr
oglasavanje.fitness.com.hr
test.fitness.com.hr
www.novi.fitness.com.hr
www.oglasavanje.fitness.com.hr
www.test.fitness.com.hr

Does this wildcard *.fitness.com.hr mean that www.fitness.com.hr will be also resolved?

Because I didnt typed www.fitness.com.hr

I have to be sure that this is fine before I push production site through Cloudflare.

That host does redirect to “www”, however on port 442. You might want to check your server configuration.

Yes, it does, though it is not about resolution, but rather which hosts that certificate covers.

1 Like

Thank you Sandro!

We pushed production site and it works fine!

Thanks again!

I have one more question.

I have only one site on Cloudflare - whats the main difference between Dedicated SSL (5$ cost) and Dedicated SSL with custom hostnames (10$ cost)?

I have only one site (fitness.com.hr) with several subdomains - can I have Dedicated SSL (5$ cost) and it will work?
Because it protects fitness.com.hr and *.fitness.com.hr

That *.fitness.com.hr will resolve my several subdomains right?

https://support.cloudflare.com/hc/en-us/articles/228009108-Managing-Dedicated-SSL-Certificates#section1

As I mentioned originally

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