Connect a domain to StoreConnect
On this page
Connect your own domain or subdomain to your StoreConnect store using a Web Domain record. This involves creating the record in StoreConnect to generate a DNS target, pointing a DNS record to that target, and then activating the connection.
Before you start
- You must own the domain or have permission to manage its DNS settings.
- If you want to use an apex domain (e.g.
my-store.comwithoutwww.), check that your DNS provider supports ALIAS or ANAME records. Not all providers do. If yours does not, you can either configure forwarding from the apex to yourwwwsubdomain, or switch to a DNS provider that supports ALIAS records.
:::tip Check your DNS provider’s ALIAS record support early in your project — switching providers takes time and can affect your go-live timeline. :::
Create a Web Domain record
- In Salesforce, go to the Web Domains tab.
- Click New.
- Enter your domain in the Domain Name field — no
https://and no trailing/. Examples:www.my-store.commy-store.comstore.my-store.com
- Leave the Active checkbox unchecked for now.
- Save the record.
The Target field auto-generates when you save. Copy this value — you will need it when configuring your DNS records. It looks something like:
afternoon-summer-aywe4qwsmeh.dns.storeconnect.app
:::note
Create a separate Web Domain record for each domain or subdomain you want to connect. For example, to make your store accessible at both my-store.com and www.my-store.com, create two Web Domain records. Each generates its own target value.
:::
Configure DNS at your provider
Log in to your DNS provider and add the appropriate record type.
For a subdomain (e.g. www.my-store.com):
Add a CNAME record pointing to the target from your Web Domain record.

For an apex domain (e.g. my-store.com):
Add an ALIAS or ANAME record pointing to the target from your Web Domain record. If your DNS provider does not support these record types, configure forwarding from the apex domain to your www subdomain instead.

:::tip Set your DNS TTL to 60 seconds (or the lowest value your provider allows) before making changes. This speeds up propagation when you go live and makes issues easier to fix. You can increase it again once your domain is connected and stable. :::
Activate the connection
Once your DNS records are in place:
- Open the Web Domain record in Salesforce.
- Check the Active checkbox.
- Save the record.
The Status field changes to Enqueued — verification has started. Allow at least 10 minutes for the status to update.
Monitor status
| Status | Meaning |
|---|---|
| Enqueued | Verification is in progress. Wait at least 10 minutes. |
| Success | The domain is connected and SSL is provisioned. |
| Failed | The connection failed. The Active checkbox is automatically unchecked. Check the Message field for the reason. |
If the status shows Failed:
- Check the Message field for the reason.
- Correct your DNS records if needed.
- Check Active again and save to retry.
Next step
Once status shows Success, update the Domain Name field on your Store record to make the domain live. This sets it as your primary domain, which is used for your Google Merchant Feed, Facebook Catalog Feed, sitemap, robots.txt, and canonical links.
See Set your store domain and go live for the full go-live process.