Overview
By default, all published Stardeck projects are automatically accessible atproject-slug.stardeck.site where project-slug is your project’s unique identifier.
Custom domains allow you to host your Stardeck projects on your own domain name (like www.your-site.com) instead of the default project-slug.stardeck.site subdomain. This guide will walk you through the entire process of setting up a custom domain.
Prerequisites
Before you can set up a custom domain, you need:- A published project - Your project must be deployed and live on Stardeck
- Access to your domain’s DNS settings - You’ll need to modify DNS records
- Organization admin access - Custom domains are managed at the organization level
If your project isn’t published yet, you’ll need to deploy it first through the Deployment tab in your project settings.
Step 1: Add Domain to Your Organization
First, you need to add your domain to your organization’s available domains:-
Navigate to Organization Settings
- Go to your Dashboard
- Click the Settings icon in the top navigation
- Select the Domains tab
-
Add Your Domain
- In the “Add New Domain” section, enter your domain name
- Enter just the domain (e.g.,
example.com) - Stardeck will automatically add thewww.prefix - Click Add Domain
Step 2: Configure DNS Records
After adding your domain, you’ll see DNS configuration instructions. You need to add several DNS records to validate ownership and enable SSL:Domain & SSL Validation (TXT Records)
You’ll need to add two TXT records for validation: Domain Ownership Validation:- Record Type: TXT
- Name/Host: (provided by Stardeck, usually something like
_stardeck-domain-verification.www.example.com) - Value: (unique verification token provided by Stardeck)
- Record Type: TXT
- Name/Host: (provided by Stardeck for SSL validation)
- Value: (unique SSL verification token provided by Stardeck)
Traffic Routing (CNAME Record)
Main CNAME Record:- Record Type: CNAME
- Name/Host:
www.example.com(your full domain) - Points To:
cname.stardeck.dev
Apex Domain Redirect (Optional)
To redirect visitors from your apex domain (example.com) to your www subdomain (www.example.com):
- Record Type: A Record + URL Redirect (varies by DNS provider)
- Name/Host:
@(or leave blank) - Redirect To:
www.example.com
The apex domain redirect setup varies by DNS provider. Look for “URL forwarding”, “domain redirect”, or similar features in your DNS provider’s interface.
Step 3: Validate DNS Configuration
After adding all DNS records:- Wait for propagation - DNS changes can take up to 24 hours to fully propagate
- Check validation status - In your organization’s Domains tab, you’ll see validation status for each step:
- Ownership (TXT record validation)
- SSL TXT (SSL certificate validation)
- CNAME (traffic routing validation)
- Redirect (apex domain redirect validation)
- Use validation buttons - Click the “Check” buttons next to each validation step to manually trigger validation
Step 4: Assign Domain to Project
Once your domain is fully validated:- Go to your project
- Open Project Settings - Click the settings icon in your project
- Navigate to Custom Domain tab
- Select your domain - Choose from your organization’s validated domains
- Assign domain - Click to assign the domain to your project
Common DNS Provider Examples
Cloudflare
- TXT records: Add in DNS management with the exact name/host and value
- CNAME: Point
www.example.comtocname.stardeck.dev - Apex redirect: Use “Page Rules” or “Redirect Rules” to redirect
example.comtowww.example.com
Name-cheap
- TXT records: Add in “Advanced DNS” section
- CNAME: Add CNAME record with host
wwwpointing tocname.stardeck.dev - Apex redirect: Use “Redirect Domain” feature in domain settings
GoDaddy
- TXT records: Add in DNS management
- CNAME: Add with name
wwwand points tocname.stardeck.dev - Apex redirect: Use “Forwarding” in domain settings
Troubleshooting
DNS Not Propagating
- DNS changes can take up to 24 hours
- Use tools like
digor online DNS checkers to verify propagation - Clear your browser cache and try incognito mode
Validation Failing
- Double-check that TXT record names and values match exactly
- Ensure there are no extra spaces in DNS record values
- Some DNS providers require a trailing dot for full domain names
CNAME Conflicts
- Remove any existing A records for the same subdomain
- CNAME records cannot coexist with other record types for the same name
- Ensure you’re using
www.your-domain.comand not the apex domain for the CNAME
Still Having Issues?
If you’re still experiencing problems:- Check the validation status in your organization’s Domains tab
- Use the “Check” buttons to manually trigger validation
- Contact Stardeck support through your dashboard with your domain name and error details
Need help with DNS configuration? Many DNS providers have specific guides for adding TXT and CNAME records. Check your provider’s documentation or contact their support for assistance.