Shopify provides all the tools needed to create and run an online store for your products.
When you create a store on Shopify, it automatically gets a default Shopify web address. For example, if your store name is “demo”, your website will be available at:
https://demo.hostfast.pk
Anyone can open this link in a browser to view your store.
You can also connect your own domain name (for example, a domain hosted on Namecheap with cPanel) to your Shopify store.
To do this, follow these steps:
Add DNS records in cPanel
Log in to your cPanel account and go to Zone Editor under the Domains section. Here you will add the required DNS records for your domain or subdomain.Add the domain to Shopify
After setting the DNS records, log in to your Shopify account and add the domain or subdomain so it connects to your store.
Step 1: Log in to your cPanel account and find Zone Editor under the Domains menu.
For cPanel Basic Theme:
For cPanel Retro Theme:
2. Click Manage next to the domain name you wish to set up:
3. Edit DNS Records for Your Domain
In this step, you need to update some DNS records for your domain, depending on which address you want to use with Shopify.
(a) If you want to use yourdomain.tld and www.yourdomain.tld
Update the following records:
A Record for yourdomain.tld → set the value to 23.227.38.65
CNAME Record for www.yourdomain.tld
→ set it to shops.myshopify.com
How to edit a record:
Click Edit next to the record.
Enter the new value.
Click Save Record to apply the changes.
(b) To use another subdomain name, like store.yourdomain.tld, you should add the following record to your existing records:
- CNAME Record for store.yourdomain.tld should be mapped to shops.myshopify.com
To add a new record, click Add Record at the top of the record list >> choose CNAME record type >> enter required values >> click on Add Record:
Wait about 30 minutes for the DNS records to update.
After that, go to your Shopify Admin panel and click Verify Connection to confirm that your domain is connected to your store.
Congratulations! Your domain is now successfully connected to Shopify.