Hi, i have a domain " example.com" in godaddy, DNS records are pointed to cloudflare and created a subdomain “api.example.com” in godaddy, now i am in a confused state to how to configure subdomain records in cloudflare. some suggested to create as a A record and some suggested as CNAME record. I need help …
If you configured this on the same server as your main domain, you most likely want the same record content, just with the name of the subdomain
An A record pointing to your server IP is most common, but you can also use a CNAME to another hostname with the same IP if you want, this makes it easier if you need to update the IP later, as you only need to do it once, if the other records are CNAMEs.
Means i need to set subdomain as CNAME ?
You can either
- Add an A record for the subdomain pointing to your server IP.
- Add a CNAME record for the subdomain pointing to a hostname on the same server.
It’s entirely up to you what you choose to do.
Thank you… now i got clearly
I am not able to resolve this issue …pls any one help me to solve this. my subdomain is not pointing to main domain IP .
It looks like it’s trying to connect to Port 9000. Cloudflare only proxies a limited set of ports for HTTP/S. If you can’t change the port, then you’ll have to set that DNS entry to DNS-Only ().
@sdayman pls help me to resolve this issue , its been more than a week i am facing this. trying all the community links n reading all ur tutorials
any body knows solution pls reply
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.