SSL Certificate Not Working After Domain Setup
Quick Answer
DNS hasn't propagated yet, wrong DNS records, or conflicting old records. Start with "Wait 30 minutes" before making broader code changes.
You're in the right place if...
- !No padlock icon in browser
- !'Not secure' warning
- !Certificate error page
Why this happens
DNS hasn't propagated yet, wrong DNS records, or conflicting old records.
Fix
Wait 30 minutes
DNS changes take 10-30 minutes. SSL certificates are issued automatically after DNS propagates.
Check DNS records
Verify at whatsmydns.net that your A record shows 76.76.21.21 (for Vercel). Delete any old or conflicting A records.
Force SSL in Vercel
Vercel automatically provisions SSL. If it's been over an hour, go to Project → Settings → Domains → click your domain → Force HTTPS.
Prevent this next time
Delete ALL old DNS records before adding Vercel records. Conflicting records prevent SSL provisioning.
Frequently Asked Questions
Usually 10-30 minutes after DNS propagates. Vercel provisions certificates automatically.
No. Vercel, Netlify, and Cloudflare all provide free SSL certificates automatically.
Related fixes
Weekly Newsletter
Get next week's fix before you need it.
Join developers getting weekly vibe coding tips, error fixes, and tool updates.
Subscribe on Substack →