0

Please I need help, I have successfully deployed my next js app on vercel but i have a problem.

I can only access it using https://www.rootdomain.com and www.rootdomain.com

but not with https://rootdomain.com. . Please I would appreciate any kind of help because I am getting frustrated

I have tried adding possible dns records but no avail

1
  • Not enough information to assist on this one. We would need the domain. This is most likely a DNS misconfiguration or proxy shenanigans.
    – paulogdm
    Commented Jul 9 at 0:41

1 Answer 1

0

Depending on where you purchased your domain name from, you could setup a URL redirect directly from the domain provider. For example, if you purchased your domain name from Namecheap, you can setup a permanent redirect from mysite.com to www.mysite.com. Ensure that only www.mysite.com is configured on Vercel, though. This fixed it for me on most of my domains but the problem is when the domain is not purchased from Namecheap or when the domain provider doesn't allow for direct redirect.

Not the answer you're looking for? Browse other questions tagged or ask your own question.