Connect a third-party domain to Shopify for your B2B customer accounts page
If you use the Shopify B2B feature, then you can create a subdomain that is based on your third-party domain name that points to your B2B customer accounts page. You can then give the corresponding URL to your new B2B customers so that they can create an account in your B2B store.
The domain name that you create is a subdomain of your primary domain name that you use for your store. The subdomain becomes the primary domain name for your customer accounts page.
In this case, you start the process from the Settings > Checkout and accounts section of the Shopify admin, rather than the Settings > Domains section. If you try to start from the Domains settings section, then you receive an error.
Before you begin
To complete this procedure, you need to have the following information:
- your login information for your third-party domain provider account
- your domain provider's requirements
Step 1: Create the subdomain for your customer accounts page
From your Shopify admin, go to Settings > Checkout and accounts.
On the Checkout and customer accounts page, go to the Customer account URLs section.
In the New customer accounts field, click Change domain. The Change customer accounts domain dialog is displayed.
In the Customer account domain field, enter a descriptive string that identifies the domain name as the one that is used for customer accounts. For example, if you enter the string
myaccount, then you create the following URL for your customer:
Click Continue. You are taken to the Connect existing domain page in the Domains settings.
To change your domain provider account settings, click Follow settings instructions. You are taken to your domain provider's website.
Step 2: Create a new CNAME record in your third-party domain provider account settings
On your domain provider’s website, log in to your account.
Find the DNS settings or domain management area.
Do the following.
- Create a new CNAME record.
- Change the Host name to the string that you created for your customer account subdomain name. For example,
Save your changes. You are returned to the Connect existing domain page in the Shopify admin.
Step 3: Verify that customer account domain is connected to Shopify
On the the Connect existing domain page, click Verify connection.
After your customer account domain name is connected and verified, click Back to customer accounts. On the Checkout and customer accounts page, a
Connectedlabel is displayed in the New customer accounts field.
It might take up to 48 hours for your domain to be verified.