{"title":"Web Domain Object Reference","slug":"web-domain-object-reference","url":"https://support.storeconnect.com/articles/web-domain-object-reference","url_markdown":"https://support.storeconnect.com/articles/web-domain-object-reference.md","subtitle":null,"summary":"Reference documentation for the Web Domain object in StoreConnect, including field definitions, status values, and the domain connection lifecycle.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Web Domain, s_c__Web_Domain__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Web_Domain__c` |\n| **Label** | Web Domain |\n| **Plural Label** | Web Domains |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Active | `s_c__Active__c` | Checkbox | No | Enables or disables the domain. Checking this and saving triggers domain verification. If a connection fails, uncheck and recheck to retry. |\n| Domain Name | `s_c__Domain_Name__c` | Text(255) | Yes | Full domain name without `https://` or a trailing `/`. Must be globally unique across all StoreConnect sites. |\n| Message | `s_c__Message__c` | LongTextArea(131072) | No | Populated when a connection fails. Contains the reason for failure. |\n| Status | `s_c__Status__c` | Picklist | No | Current resolution status of the domain. See [status values](#status-values) below. |\n| Target | `s_c__Target__c` | Text(255) | No | Auto-generated DNS target. Copy this value into your DNS provider as a CNAME record (for subdomains) or an ALIAS/ANAME record (for apex domains). Do not edit this field manually. |\n\n## Status values\n\n| Value | Description |\n|-------|-------------|\n| Enqueued | Domain verification is in progress. Allow at least 10 minutes for the status to update. |\n| Success | The domain is connected and SSL is provisioned. |\n| Failed | The connection failed. The Active checkbox is automatically unchecked and the Message field is populated with the reason. Uncheck Active, save, then check Active again and save to retry. |\n\n## Connection lifecycle\n\n1. Create the record and save — the **Target** field auto-generates.\n2. Copy the target value into your DNS provider as a CNAME (subdomain) or ALIAS/ANAME (apex domain) record.\n3. Check **Active** and save — status changes to **Enqueued**.\n4. Wait for verification — status changes to **Success** or **Failed**.\n5. If **Failed**: correct the DNS record, then uncheck **Active**, save, recheck **Active**, and save again to retry.\n\n## Related objects\n\n| Object | Notes |\n|--------|-------|\n| Store (`s_c__Store__c`) | After a Web Domain record reaches Success status, the Store record's Domain Name field must be set to that domain for it to serve live traffic. See [Set your store domain and go live](setting-up-a-custom-domain-name). |"}