Reputation: 417
how to config a domain, a sub domain and a sub sub domain with CloudFlare?
I have example.com
, www.example.com
, subdomain.example.com
and www.subdomain.example.com
. So far I have tried the following:
Configuration 1:
A Record called example.com pointing to the IP of the server. CNAME called www that points to the domain example.com
. CNAME called subdomain that points to the domain example.com
.
The problem here is that www.subdomain.example.com
does not work and gives me an error DNS_PROBE_FINISHED_NXDOMAIN, everything else works fine.
Configuration 2:
A Record called example.com
pointing to the IP of the server. CNAME called www that points to the domain example.com
. A Record called www.subdomain
that points to the IP of the server.
The problem here is that subdomain.example.com
does not work and gives me an error DNS_PROBE_FINISHED_NXDOMAIN, however www.subdomain.example.com
works fine.
What is the right configuration for all of these? I am not interested in SSL. Any ideas will be appreciated!
Upvotes: 1
Views: 1426
Reputation: 4534
You need to have below records in your DNS -
example.com. A IP address
www CNAME @
subdomain CNAME @
www.subdomain CNAME @
Upvotes: 1