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.

Add a DNS record

  1. From your Shopify admin, go to Settings > Domains.
  2. Click the domain that you want to configure.
  3. Click Domain settings > Edit DNS settings.
  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

  1. From your Shopify admin, go to Settings > Domains.
  2. Click the domain that you want to configure.
  3. Click Domain settings > Edit DNS settings.
  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

  1. From your Shopify admin, go to Settings > Domains.
  2. Click the domain that you want to configure.
  3. Click Domain settings > Edit DNS settings.
  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. Click Domain settings > Edit DNS settings.
  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. Click Domain settings > Edit DNS settings.
  4. In the Advanced settings section, click Reset DNS settings.
  5. Click Confirm.

Find your current Shopify IP address

  1. From your Shopify admin, go to Settings > Domains.
  2. Click the domain whose IP address you want to find.
  3. Click Domain settings > Edit DNS settings.
  4. In the A RECORD section, find your Shopify IP address in the Points to column.

Learn more about IP addresses.

Ready to start selling with Shopify?Try it free