Custom Domain Setup: testnet.createprotocol.org
Overview
This guide will help you configure the DApp to be hosted at testnet.createprotocol.org on Vercel.
Prerequisites
- ✅ DApp deployed on Vercel (project:
kcolbchains-projects/dapp) - ✅ Access to DNS management for
createprotocol.org - ✅ Vercel project is working and deployed
Step 1: Add Domain in Vercel Dashboard
Go to Vercel Project Settings
- Visit: https://vercel.com/kcolbchains-projects/dapp/settings
- Or: Dashboard →
dappproject → Settings
Navigate to Domains
- Click on Settings → Domains (in left sidebar)
Add Domain
- Click Add or Add Domain button
- Enter:
testnet.createprotocol.org - Click Add
Vercel will show DNS configuration
- You'll see something like:
Type: CNAME Name: testnet Value: cname.vercel-dns.com - Or it might show A records (IPv4) or AAAA records (IPv6)
- Copy these values - you'll need them for DNS setup
- You'll see something like:
Step 2: Configure DNS Records
You need to add DNS records at your DNS provider (wherever createprotocol.org is managed).
Option A: CNAME Record (Recommended)
- Go to your DNS provider (e.g., Cloudflare, Namecheap, GoDaddy, Route53)
- Add a CNAME record:
- Type: CNAME
- Name/Host:
testnet - Value/Target:
cname.vercel-dns.com(or what Vercel shows) - TTL: 3600 (or default)
Option B: A Records (If CNAME not supported)
If your DNS provider doesn't support CNAME for root/subdomains, use A records:
- Get Vercel IP addresses (Vercel will show these)
- Add A records:
- Type: A
- Name:
testnet - Value: Vercel's IP addresses (usually 2-4 IPs)
- TTL: 3600
Step 3: Verify Domain
Wait for DNS propagation (5-60 minutes, usually ~15 minutes)
In Vercel Dashboard:
- Go to Settings → Domains
- You'll see
testnet.createprotocol.orgwith status - Status will change from "Pending" to "Valid" when DNS is configured correctly
Check DNS propagation:
bash# Check if DNS is resolving dig testnet.createprotocol.org # Or nslookup testnet.createprotocol.org
Step 4: SSL Certificate
- Vercel automatically provisions SSL certificates via Let's Encrypt
- This happens automatically once DNS is configured
- No action needed from you
- Certificate will be valid for
testnet.createprotocol.org
Step 5: Update Environment Variables (If Needed)
If you need different configurations for the testnet domain:
- Go to Settings → Environment Variables
- Add/update variables for Production environment
- Variables are already set, but verify:
NEXT_PUBLIC_CHAIN_ID=11155111(Sepolia testnet)- All contract addresses are correct
Step 6: Test the Domain
Once DNS is configured and Vercel shows "Valid":
- Visit: https://testnet.createprotocol.org
- Verify:
- ✅ Site loads correctly
- ✅ SSL certificate is valid (HTTPS works)
- ✅ Wallet connection works
- ✅ Contract interactions work
Troubleshooting
Domain shows "Invalid Configuration"
- Check DNS records are correct
- Wait for propagation (can take up to 48 hours, usually much faster)
- Verify the CNAME/A record values match what Vercel shows
SSL Certificate not provisioning
- Wait - SSL provisioning can take 5-60 minutes after DNS is valid
- Check DNS is resolving correctly
- Verify domain is added correctly in Vercel
Site not loading
- Check Vercel deployment is successful
- Verify DNS is pointing to Vercel
- Check browser console for errors
- Try clearing browser cache
DNS not resolving
- Check DNS records are saved correctly
- Wait for propagation (up to 48 hours, usually 15-60 minutes)
- Verify TTL is not too high (3600 is good)
- Use
digornslookupto check DNS
Current Vercel Project
- Project:
kcolbchains-projects/dapp - Project ID:
prj_rpktE967bbTXaWjgdaqLgREC8N7V - Current URL:
https://dapp-*.vercel.app(auto-generated) - Target URL:
https://testnet.createprotocol.org
DNS Provider Examples
Cloudflare
- Go to DNS → Records
- Add record:
- Type: CNAME
- Name: testnet
- Target: cname.vercel-dns.com
- Proxy: Off (gray cloud) for initial setup
- Save
Namecheap
- Go to Domain List → Manage
- Advanced DNS → Add New Record
- Type: CNAME Record
- Host: testnet
- Value: cname.vercel-dns.com
- Save
AWS Route53
- Go to Hosted Zones → createprotocol.org
- Create Record
- Record name: testnet
- Record type: CNAME
- Value: cname.vercel-dns.com
- Create
Next Steps After Domain is Live
- ✅ Update any hardcoded URLs in code/docs
- ✅ Test all functionality on the new domain
- ✅ Update documentation with new URL
- ✅ Share the URL with team/users
- ✅ Set up monitoring/alerts if needed
Notes
- HTTPS is automatic - Vercel handles SSL certificates
- Custom domains are free on Vercel
- Multiple domains can point to the same project
- Preview deployments will still use
.vercel.appURLs - Production deployments will use your custom domain