The resolution of my subdomain name does not work

Hello,

I registered Cloudflare DNS on my main domain vtcsafeandfriendly.fr.
The DNS used are as follows:
apollo.ns.cloudflare.com
carla.ns.cloudflare.com

HTTP requests on the main domain name work perfectly.

On the other hand, queries on the subdomain www.api-vtc.vtcsafeandfriendly.fr. doesn’t work because name resolution doesn’t work.

Do you have any idea what I might have forgotten?

Regards.

Julien

The name doesn’t exist in DNS. Can you post a screenshot of your DNS settings from the Cloudflare dashboard?

Your Screenshot clearly shows you don’t have a DNS entry for the subdomain you’re trying to access. You need to add the appropriate DNS record for the subdomain.

Note that:

www.api-vtc.vtcsafeandfriendly.fr and
api-vtc.vtcsafeandfriendly.fr

… are two different hostnames. If you want both to work, you need to add the appropriate DNS entries for both (and possibly forward one to the other).

2 Likes

Indeed the DNS records of the subdomain were missing on Cloudflare. I thought that the DNS records at my OVH provider were enough but no.

I added the DNS for the subdomains in Cloudflare and now it works.

Thanks for your help.

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