Domain Setup
Configure a custom domain for your directory.
Vercel domains
- Go to your Vercel project → Settings → Domains
- Add your custom domain
- Configure DNS records as instructed by Vercel
- Wait for SSL certificate provisioning
Update environment variables
After adding your domain, update:
NEXT_PUBLIC_APP_URL=https://yourdomain.comSupabase redirect URLs
Update the allowed redirect URLs in Supabase:
- Go to Authentication → URL Configuration
- Add your domain to "Redirect URLs":
https://yourdomain.com/auth/callback
Stripe webhook
Update your Stripe webhook endpoint:
- Go to Stripe Dashboard → Developers → Webhooks
- Update the endpoint URL to:
https://yourdomain.com/api/webhooks/stripe
Next.js config
If using Supabase storage for images, add your Supabase hostname to remotePatterns in next.config.ts.