Properly configuring and setting up a domain with Vercel

Hey makers ⚡️

I'm migrating from a nightmare-ish AWS S3+Cloudfront+Route53 stack to Vercel, it's been pretty good with the deployment and build.

But I got some difficulties in setting up my custom domain properly. I use NameCheap as my registrar, and through Nameservers I have it set up and working at https://goalsy.io/ but how can I configure the DNS and make "www.goalsy.io" "goalsy.io" "https://www.goalsy.io" all work?

Have you ever worked this out? Any help/resources would be very appreciated 🙏🏻✅

Thanks!

Wassim

Adding a domain name trough Settings -> Domains is quite simple and should be straightforward. Generally all you have to do is adding an A record pointing to Vercel's server on your registrar dns settings.

Be careful though if you are using Cloudflare you may get a redirect loop. I fixed it by setting Cloudflare's SSL encryption to Full mode.

0 Likes
James Wood 🚀 ☁️ Author

Thank you @wassim, I did manage to get it to work!

0 Likes
Femo

Pleases if you see this comment help me out, I'm facing a similar problem as yours. I register a domain name with Namecheap and configure it to use Cloudflare, which is active on Cloudflare. I added the domain to my vercel project, I got the error invalid configuration and I have done everything as mentioned in Vercel knowledge base, please what I'm I doing wrong. my domain is bkay.design Please walk me through.. see my screenshot below

https://prnt.sc/vr9aa5 https://prnt.sc/vr9boi

0 Likes

Please sign in to leave a comment.