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 adding or editing your DNS records, review the following considerations:

  • 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 added and set to the default DNS records for Shopify.
  • You won't need to modify your default A record or CNAME record for your Shopify store to point to your Shopify domain.
  • When you create a new CNAME record, Shopify automatically adds .email.DOMAINNAME.com.
  • If you have modified the A record or CNAME record and want to reset them to the default, then you can reset your DNS records for the A record, CNAME record, and the AAAA record.
  • 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.
  • When you add a new MX or TXT record, don't edit the name field.
  • Changes to your DNS settings can take up to 24 hours to take effect.
  • If you can't add MX records for email forwarding on certain domain types that are bought through Shopify, then contact Shopify Support.

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, then you can add the appropriate DNS record.

Steps:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain that you want to configure.

  3. In the DNS settings section, click Manage.

  4. Click Add custom record, and then select the record type that you want to add.

  5. 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:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain that you want to configure.

  3. In the DNS settings section, click Manage.

  4. Click Actions > Edit for the record that you want to change.

  5. 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:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain that you want to configure.

  3. In the DNS settings section, click Manage.

  4. Click Actions > Remove for the record that you want to delete.

  5. 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:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain that you want to configure.

  3. In the DNS settings section, click Manage.

  4. Click Actions > Reset for the record that you want to reset.

  5. 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:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain that you want to configure.

  3. In the DNS settings section, click Manage.

  4. In the Advanced settings section, click Reset DNS settings.

  5. Click Confirm.

Find your current Shopify IP address

You might need to confirm the IP address for one of your domains.

Steps:

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain whose IP address you want to find.

  3. In the DNS settings section, click Manage.

  4. In the A RECORD section, find your Shopify IP address in the Points to column.

Learn more about IP addresses.

Troubleshoot A record issues

Your A record can't be removed

You can't remove the A record for a Shopify-managed domain from the Shopify admin. To change where your domain points, complete one of the following actions:

  • Click Actions > Edit for the A record, and then update its value.
  • Click Actions > Reset to restore the Shopify default.

To stop the domain from pointing to your store immediately without removing it from your account, follow the steps to park your domain.