When your StoreConnect site is first set up, it comes with a default domain that looks something like 00d9n000002gtaryam-454af23e.storeconnect.app. You probably don't want to send customers there. Once you've configured your own domain, that .storeconnect.app URL will still be accessible. Keep it handy for testing new features or building additional stores. To use your own domain (like www.my-store.com), you'll need to complete a few steps.
Step 1: request your DNS target
First off, you need to request the DNS target that you need to point your domain name to. This is how you do that. This is a unique address that looks something like:
afternoon-summer-aywe4qwsmeh.dns.storeconnect.app
Using your APEX domain name
You might want to use your apex domain instead (also called a zone apex or naked domain). This is your domain without the www. in front, like my-store.com.
To set this up, you need a DNS hosting provider that supports ALIAS or ANAME records. To set this up you need a DNS hosting provider that allows you to create ALIAS, or ANAME records such as our friends at DNSimple do.
You can configure both your apex domain and a subdomain to work together, so my-store.com and [www.my-store.com](https://www.my-store.com) both reach your store. For this setup, you'll need to request a second DNS target for the apex domain.
Step 2: configure your store in Salesforce
**When you're ready to go live: **
- Update the Domain Name field on your Store record
Go to the Stores tab in Salesforce and enter your domain name exactly as we provided the DNS target for it. Don't include https:// or a trailing /. Examples:
- www.my-store.com
- store.my-store.com
- my-store.com

- This becomes your primary domain and will be used for your Google Merchant Feed, Facebook Catalog Feed, sitemap, robots.txt file, and canonical/social links in your store header. If you've set up both an apex domain and subdomain, traffic to the non-primary domain will automatically redirect to the primary one via a 301 redirect. (You can request to disable this redirect if needed.)
- Turn off Test Mode In the Store record, go to the Modes sub-tab and uncheck the "Enable Test Mode" checkbox, then save.
Step 3: create DNS records (CNAME)
Log into your DNS hosting provider and create the appropriate records:
For a subdomain (like www.my-store.com):
Create a CNAME record pointing to the DNS target we provided.
For an apex domain: Create an ALIAS (or ANAME) record pointing to your second DNS target.
Set your TTL low (before going live)
DNS records take time to propagate after changes. This delay is controlled by the Time To Live (TTL) setting.
We recommend lowering your TTL to the minimum (like 60 seconds) a few days before you go live. This lets you fix any issues quickly. Once everything is stable, you can increase the TTL back to a higher value.
Troubleshooting: SSL_unrecognized_name_alert
If your CNAME record doesn't propagate fast enough, you might see an error like SSL_UNRECOGNIZED_NAME_ALERT. This happens because our SSL certificate management system stopped checking for your domain.
If you see this error, let us know so we can restart the certificate provisioning process.