Editing the DNS settings for your Shopify-managed domain
If you have a Shopify-managed domain, then you can access and edit your DNS settings from the Domains page in your Shopify admin. If your store uses a myshopify.com
domain name, then you need to add a custom domain before you can access your DNS settings. You might need to edit your DNS settings if you're doing the following tasks:
- setting up a third-party email service on your domain
- verifying your domain with a third-party service
- pointing a subdomain to another website
You can access and edit the following DNS records:
- A record
- CNAME record
- MX record
- TXT record
- AAAA record
- SRV record
When you buy your domain through Shopify or transfer a third-party domain to Shopify, the A record and CNAME record for your domain are automatically set to the default DNS records for Shopify. You can have multiple CNAME records associated with your domain, but each one must have a unique name, such as www
or shop
. If you want to add MX, TXT, SRV, or AAAA records, then you need to edit the DNS settings for your domain.
Changes to your DNS settings can take up to 24 hours to take effect.
On this page
Add a DNS record
You might need to add a DNS record that is different from Shopify's default DNS records. For example, if you're setting up a custom domain or want to point a subdomain to another website.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain that you want to configure.
- Click Domain settings > Edit DNS settings.
- Click Add custom record, and then select the record type that you want to add.
- Enter the required details for the record, and then click Confirm.
Edit a DNS record
You might need to edit DNS settings to connect or verify your domain with a third-party service, or to point a subdomain to another website.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain that you want to configure.
- Click Domain settings > Edit DNS settings.
- Click Actions > Edit for the record that you want to change.
- Edit the details for the record, and then click Confirm.
Remove a DNS record
You might need to remove a DNS record when it's no longer needed.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain that you want to configure.
- Click Domain settings > Edit DNS settings.
- Click Actions > Remove for the record that you want to delete.
- Click Remove.
Reset a single DNS record
You can only reset the A record, the AAAA record, and CNAME record for your domain. When you reset these records, they are reset to point to Shopify.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain that you want to configure.
- Click Domain settings > Edit DNS settings.
- Click Actions > Reset for the record that you want to reset.
- Click Confirm.
Reset all DNS settings for your domain
You can reset your DNS settings to the default configuration. Resetting your settings deletes all your records except the A record, the AAAA record, and CNAME record, which are reset to point to Shopify.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain that you want to configure.
- Click Domain settings > Edit DNS settings.
- In the Advanced settings section, click Reset DNS settings.
- Click Confirm.
Find your current Shopify IP address
You might need to confirm the IP address for one of your domains.
Steps:
- From your Shopify admin, go to Settings > Domains.
- Click the domain whose IP address you want to find.
- Click Domain settings > Edit DNS settings.
- In the A RECORD section, find your Shopify IP address in the Points to column.
Learn more about IP addresses.