Your website needs the following to get it up and running
- Domain registrar
- DNS host
- Web host
Most people realize that they need the domain registrar and the web host, but get fuzzy on the DNS host. This is confusing that there are DNS settings at both the registrar and the DNS host. Registrars can all offer DNS hosting (and web hosting).
You have three options for DNS hosting:
- Godaddy throws in DNS hosting for free with domain registration.
- Because your cPanel has DNS settings, it sounds like your web host throws in DNS hosting for free with the web hosting package
- Use a third party DNS host.
The way that it works is that the domain registrar has settings for the name server (NS) records. Those settings should point to the DNS host. The DNS host then has settings for adding hosting ip addresses, subdomains, and mail records.
If you choose to use Godaddy, your NS records at Godaddy should be something like NS22.DOMAINCONTROL.COM. (Godaddy prefills those in for you). You then edit the records in the Godaddy interface and ignore your cPanel.
If you choose to use your web host, you need to change the NS records at Godaddy. Your cPanel should tell you what the NS records should be. Log into Godaddy and change the NS records. Then add all your other settings in cPanel. The advantage of using your web host for DNS is that cPanel may configure the records for your website automatically for you.
A third party works similarly. Update the NS records in Godaddy to what the DNS host tells you, and then update your DNS records at the third party and ignore cPanel.
It sounds like you will need at least the following records:
- example.com (no subdomain record)
A
record pointing to the IP address of your server
- www.example.com
A
record pointing to the IP address of your server
- store.example.com
A
record pointing to the IP address of shopify or a CNAME
record to shopify
- www.store.example.com same as store
MX
record pointing to gmail
Your web host, shopify, and Gmail should all tell you values to enter into your records.