Setting up your third-party domain

The purpose of this guide is to provide you with general instructions for configuring a third-party domain for Shopify.

After you've purchased your third-party domain, there are two main changes you need to make to your DNS settings when you configure your domain in Shopify. You need to:

  1. Set up your root domain.
  2. Set up your subdomains.

After you've completed these steps, you need to claim your domain in Shopify.

Did you know?

If you buy your custom domain through Shopify, the DNS settings will be configured for you.

You will find setup instructions for some common domain providers, but you should read these general instructions first so you have a broad understanding of the process before you begin.


Shopify Support is not allowed to log in to your third-party domain account for you, even if you give us explicit permission.

If you have problems or need help setting your third-party domain, you can reach out to your provider.

Set up your root domain

After you've purchased your third-party domain, you need to set up your root domain. This means that you need to edit your DNS settings and point your A record to Shopify's IP address, which is

There are two ways you can do this:

The method you use will probably be dictated by your domain provider.

To help you understand some of the terminology, we’ve provided you with definitions of common terms that you might encounter in this section:

Root domain

A root domain is the domain name that you purchase from your domain provider. It does not contain a prefix, such as www., but has a top-level domain (TLD) extension like .com, .org, or .net. An example of a root domain is

Other terms: base domain, top-level domain and second-level domain


Domain Name Systems (DNS) is a database of domain names. Every domain has its own DNS entry. It organizes domain names and translates them from words (for example, to numbers (for example, Shopify’s IP address This lets you to visit a website without having to memorize its IP address. Typically, this process works quickly in the background, but when you connect your domain with your Shopify store you might need to change your DNS settings

Other terms: DNS records, DNS settings, resource records, DNS file zone

A record

An A record is a DNS setting that checks if a domain name has a specific IP address associated with it. In this case, you want your A record to point to Shopify’s IP address.

Other terms: Address record, host record

IP address

An IP address is a unique string of numbers that specifies the location of a computer or device on the internet and distinguishes it from others. It is required for one computer to communicate with another over the internet.

Shopify’s IP address is

Other terms: Internet Protocol address

Editing your A Record

You need to edit your A record to assign Shopify's IP address to the root domain you bought from your third-party provider.

To edit your A record:

  1. Log in to the account you have with your domain provider.

  2. Find your DNS settings. Look for your account admin panel, or your domain management area, or DNS configuration, or similar.

  3. Now you need to edit your A Record. If you can see your records, the A record might be shown separately from your other DNS records. It's often represented by an @ symbol, or occasionally by a blank field. These indicate that a DNS record is referring to a root domain.

    The admin panel might feature drop-downs or editable fields, or you might have to check boxes or edit a table. However you interact with the admin, you need to:

    • enter or choose the @ symbol, or A record
    • supply Shopify's IP address ( as the destination for the A record.
  4. If you see a TTL field and it's editable, set the TTL to 30. seconds (or the smallest value allowed).

  5. Save the A Record (click Save, Save Zone File, Add Record, or similar.)

Example of an A record

Here is an example of an A record setting:

Godaddy ip update


An A record must point only to an IP address, never to a domain.

Set up a permanent redirect

If your registrar has a Permanent Redirect option, we recommend that you use it instead of resetting your A record. You'll create a permanent redirect from your custom root domain ( to the subdomain where your CNAME point exists. When you've also set your CNAME pointer for this subdomain, all traffic will be seamlessly redirected to your Shopify store.

To use permanent redirects, you must follow the instructions provided by your third-party domain registrar.

Set up your subdomains

You need to redirect every subdomain you want to use to your own Shopify-hosted domain (

You do this by editing your DNS records to add a CNAME record for each of your subdomains.


Use this method if you want your online store to reside on a subdomain.

To help you understand some of the terminology, we’ve provided you with definitions of common terms that you might encounter in this section:


A subdomain is a subset of your root domain that you see as a prefix to your root domain. For example, in the URL, is the root domain and help. is the subdomain. You can use subdomains to organize your website and make it easier for visitors to find the information that they're looking for.

CNAME record

A CNAME record is a DNS setting that points your subdomains to another domain name. In this case, you want your CNAME record to point to your Shopify-hosted domain (

Other terms: CNAME resource record, Alias

To set up a subdomain:

  1. Log in to your account with your domain provider.

  2. Find your DNS settings by looking for your account admin panel, your domain management area, DNS configuration, or similar.

    You might be able to open the settings and view your current DNS records. Each entry should show:

    • an original location (often listed in a column called Name, Host, or Alias)
    • the type of the record (for example, CNAME)
    • the destination the record is pointing to.
  3. Now you need to add a CNAME Record or update an existing one.

    The admin panel might feature drop-downs or editable fields, or you might have to check boxes or edit a table. You'll need to make sure the 3 components of the record are set:

    Enter the original location for the pointer. In this case, it is your subdomain prefix. You can use any prefix you'd like, for example:

    • www
    • shop
    • store


    Often, you need to provide just the prefix without the dot, but for some domain providers you need the whole subdomain. Use the existing entries as a guide, or follow your provider's instructions.

    • Make sure the record you're creating is called CNAME (or sometimes canonical name). You might need to select it from a list of options.
    • Enter your Shopify-hosted domain name (for example as the pointer destination. The field or column that you have to type into might be called something like Value, Points to, or Destination.
  4. If you see a TTL field and it's editable, set the TTL to 30. seconds (or the smallest value allowed).

  5. Save the CNAME Record (usually by clicking Save or Add record or similar.)

  6. Each domain provider displays their DNS records in different ways, but you should check that your CNAME record has been set correctly.


CNAME records must always point to a domain name, never to an IP address.

CNAME example

Here's an example of a CNAME setting:

Godaddy 6

Claim your custom domain in Shopify

After you've set up your root domain and your subdomains, you need to claim the domain in your Shopify store. This step identifies you to Shopify as the owner of your custom domain.

To claim your domain, you need to claim your custom root domain and each of your subdomains in turn. The procedure is the same in every case:

  1. From your Shopify admin, click Online Store, and then click Domains (or press G W D).

  2. Click Add existing domain:

    Add existing domain
  3. Click Add a domain name I already own.

  4. Enter your root domain in the Domain name field:

    Claim domain 1
  5. Click Add domain.

  6. Now you need to claim your subdomains. For each subdomain that you want to pair with your Shopify store, repeat this process.


It may take up to 72 hours for your custom domain to point to your Shopify store. If it takes more than 72 hours, you should contact your custom domain provider.

What's next?

After you've claimed your domain in Shopify, you need to choose your primary domain (the domain name that customers will see in the address bar while they browse your online store).

You can also set up email forwarding from the domain after you've claimed it in Shopify.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free