Complete Domain Setup Guide
Complete Domain Setup Guide
This comprehensive guide will walk you through connecting your custom domain to your white-label site.
Prerequisites
- A registered domain name
- Access to your domain registrar's DNS settings
- Admin access to your tenant dashboard
Understanding DNS Records
Before we begin, let's understand what DNS records do:
- A Record: Points your domain to an IP address
- CNAME Record: Creates an alias for your domain
- TXT Record: Verifies domain ownership
Step-by-Step Instructions
Step 1: Purchase Your Domain
If you don't have a domain yet:
- Choose a registrar (recommended: Namecheap, Google Domains, or Cloudflare)
- Search for available domains
- Purchase your desired domain (typically $10-15/year)
Pro Tip: Choose a domain that reflects your brand and is easy to remember.
Step 2: Access DNS Settings
Each registrar is slightly different. Here's where to find DNS settings:
GoDaddy:
- Log in to GoDaddy
- Go to "My Products"
- Click "DNS" next to your domain
Namecheap:
- Log in to Namecheap
- Go to "Domain List"
- Click "Manage" next to your domain
- Click "Advanced DNS"
Google Domains:
- Log in to Google Domains
- Click your domain
- Click "DNS" in the left menu
Cloudflare:
- Log in to Cloudflare
- Select your domain
- Click "DNS" tab
Step 3: Add DNS Records
Add these exact records to your DNS settings:
A Record
- Name:
@ - Type:
A - Value:
192.168.1.1
CNAME Record
- Name:
www - Type:
CNAME - Value:
yourbrand.longevity-optimized.com
TXT Record
- Name:
@ - Type:
TXT - Value:
v=spf1 include:mailgun.net ~all
Step 4: Verify DNS Changes
It can take up to 24 hours for DNS changes to propagate. You can verify the changes using online tools like MX Toolbox.
Step 5: Update Tenant Domain
- Log in to your tenant dashboard at
/admin/tenants - Find your tenant and click "Edit"
- Update the Domain field with your custom domain
- Click "Save Changes"
Step 6: Test Your Site
- Visit your custom domain to ensure everything is working correctly
- Check that all links and assets are loading properly
- Test the responsiveness on different devices
Troubleshooting
- Domain Not Redirecting: Ensure that your DNS records are correct and that your registrar's DNS settings are saved.
- Site Not Loading: Clear your browser cache and try again. If the issue persists, contact support.
Additional Resources
Enjoy your new custom domain!