Domain Setup
SweetCode Cloud uses a CNAME record to route traffic through the edge proxy. This guide covers setup for common DNS providers.
How It Works
Section titled “How It Works”When you add a domain in the dashboard, SweetCode Cloud assigns a proxy subdomain (default: ssp). You create a CNAME record pointing that subdomain to ssp.sweetcode.cloud. All requests to ssp.yourshop.com are then processed by the edge proxy.
ssp.yourshop.com → CNAME → ssp.sweetcode.cloud → Cloudflare EdgeDNS Configuration
Section titled “DNS Configuration”Cloudflare
Section titled “Cloudflare”- Go to DNS → Records in your Cloudflare dashboard
- Click Add Record
- Set Type to CNAME, Name to
ssp, and Target tossp.sweetcode.cloud - Set Proxy status to DNS only (gray cloud) — SweetCode Cloud handles its own edge routing
- Click Save
Namecheap
Section titled “Namecheap”- Go to Domain List → Manage → Advanced DNS
- Click Add New Record
- Type: CNAME, Host:
ssp, Value:ssp.sweetcode.cloud, TTL: Automatic - Click the checkmark to save
GoDaddy
Section titled “GoDaddy”- Go to My Products → DNS → DNS Records
- Click Add
- Type: CNAME, Name:
ssp, Value:ssp.sweetcode.cloud, TTL: 1 Hour - Click Save
Vercel (if using Vercel DNS)
Section titled “Vercel (if using Vercel DNS)”- Go to Domains → [your domain] → DNS Records
- Add a CNAME record: Name
ssp, Valuessp.sweetcode.cloud
Verification
Section titled “Verification”After creating the record, verify propagation:
dig ssp.yourshop.com CNAME +short# Expected: ssp.sweetcode.cloud.DNS propagation typically takes 1–5 minutes but can take up to 48 hours in rare cases.
Custom Subdomains
Section titled “Custom Subdomains”By default, the proxy uses the ssp subdomain. You can customize this in the dashboard under Domains → [your domain] → Settings. Common alternatives:
track.yourshop.comdata.yourshop.comevents.yourshop.com
Troubleshooting
Section titled “Troubleshooting”CNAME not resolving
Section titled “CNAME not resolving”- Ensure the record was saved (check for typos in the target)
- Wait at least 5 minutes for propagation
- Use
digor dnschecker.org to verify
SSL certificate errors
Section titled “SSL certificate errors”SweetCode Cloud automatically provisions TLS certificates via Cloudflare. This usually completes within minutes of DNS validation. If you see certificate errors, wait 15 minutes and try again.