I host several client websites. Typically I don’t host their DNS, so when a client comes along I get them to point their root and ‘www’ DNS A records to my server IP address. This works fine for now. However, when my server IP changes I have to contact customers and get them to change the IP address in their DNS records, which is something I’d rather avoid.
What I would like to do is to use a CNAME record instead, the process for which I believe is as follows:
- I set up an A record on my domain to point to my server IP.
- I tell customers to set up a CNAME pointing ‘www.theirdomain.com’ to ‘customer.mydomain.com’.
I have the following questions about this setup:
- If I host my DNS at Cloudflare, is this supported? My customers must be assumed to be NOT using Cloudflare for their DNS. I believe I read in the FAQs that you can’t point non-Cloudflare hosted CNAMEs to Cloudflare hosted domains but may have misunderstood.
- I realise that CNAMEs don’t cater for root domains. So considering this, are there any options to handle pointing my customer’s root domains to a ‘central place’ (I can’t think of a better way of phrasing that!) whereby if my IP changes I can handle the DNS updates rather than having to get each customer to make DNS updates? Guessing not, without hosting their DNS myself but just wanted to ask.
Thanks for any pointers folks.