Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 error on all three sites with custom domains applied #421

Open
joshualinog opened this issue Jul 25, 2024 · 4 comments
Open

404 error on all three sites with custom domains applied #421

joshualinog opened this issue Jul 25, 2024 · 4 comments

Comments

@joshualinog
Copy link

the problem

image
with the ID: xxxxxxxxxxxxxxxxxxxx,etc.

the domain has the suggested A record

image

and the suggested cname record

image

@Rudrakaniya
Copy link

I am getting this same issue, Following the guide Next.js Platforms Starter Kit guide resulted in 404 for me.
Cannot even see any error, Can someone please help?

@joshualinog
Copy link
Author

i now have mine working the way i want, although i don't think its what the repo is intended to do.
@Rudrakaniya
could you provide some more specifics about where you are in setting it up? what is the state of your repo? what step are you on in the guide?

@Rudrakaniya
Copy link

I have deployed this repo using Vercel's deployment template. I set up all the required environment variables, but I am unable to open any page; all the pages are giving a 404 error. I tried running it locally as well, and I am able to open the login page at 'http://app.localhost:3000/login,' but it doesn't authenticate the user or allow access to the app.
I am not sure what is wrong, trying to debug..

@joshualinog
Copy link
Author

joshualinog commented Jul 26, 2024

I have deployed this repo using Vercel's deployment template. I set up all the required environment variables, but I am unable to open any page; all the pages are giving a 404 error.

I tried deploying this repo with vercel's deploy this template functionality and it broke and did not work properly. I then started from scratch with the guide and was able to get it working.

I tried running it locally as well, and I am able to open the login page at 'http://app.localhost:3000/login,' but it doesn't authenticate the user or allow access to the app. I am not sure what is wrong, trying to debug..

  1. have you done this part?:

image

  1. what is the state of your .env file locally?
  • have you changed the file name extension to .env?
  • what is the value in your NEXT_PUBLIC_ROOT_DOMAIN:?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants