Moving Website host

I currently have a website hosted on GoDaddy’s CPanel.

And I have three A records:
A @ <-- this points to my
A admin
A mail

I am now moving my website to AWS hosted by a CloudFront distribution. So, it has a target of But I still want to keep my cpanel, because it also hosts my email

My questions:

  1. What do I do to only move the hosted website?
  2. I have now set up a cname record to point a subdomain, e.g. to cloudfront and it’s successful.
  3. Can I simply delete the existing “A @”, or do I always need an “A” record?


On which URL is cpanel?

I actually don’t know. However, there are the following CNAME records. I am assuming the ones with “admin” would point to cpanel???

CNAME autoconfig @
CNAME autoconfig.admin @
CNAME autodiscover @
CNAME autodiscover.admin @
CNAME cpanel @
CNAME ftp @
CNAME webdisk @
CNAME webdisk.admin @
CNAME webmail @
CNAME whm @
CNAME www @
CNAME www.admin @

Well, you should probably clarify all of that before you move.

“cpanel” is the most likely, however that would also point to Amazon if you point your naked domain there. You essentially need to point all website related records to Amazon, but keep everything email related with your current host.

Do you know if an “A” record with @ and the IP address mandatory?

If not, can I remove “A @”?

Now, if I would like to point to point to How should I specify the CNAME record? I don’t have an IP address, so I can’t create an “A” record.

I could leave A both below records as they are, so I can call the cpanel/email via or, and they would point to the current GoDaddy addresses:
A admin
A mail

Yes and no. A CNAME cannot be configured for technical reasons, however on Clouflare you can do that as they will dynamically turn this into an A record.

If you change the naked domain, all your other CNAMEs will point to Amazon as well, so you’d need to change these too.

I think you are right. as it is now, I could not reach, which mean what I thought the A record “A mail” would take me there, is not actually correct.

But I could reach This means it takes the configuration “CNAME webmail @”

So, if I changed naked domain to AWS, then I would lose connectivity to my GoDaddy cpanel.

Nevertheless how do you point naked domain to AWS using a CNAME record, which you said would turn into an A record?

Simply create a CNAME and point it to the hostname in question. Cloudflare will take care of the rest.

Just make sure you have a valid certificate on Amazon’s end.

Thanks Sandro. But what is the CNAME name? do I name it “@” as well? Just like an A record?

Yes, the at sign is for the naked domain.

1 Like

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