Dhanushka
Having an issue with setting up custom domain
I am trying to setup a custom domain for nextjs app. I went through the docs and videos. Here is what I did so far.
- I added A record with the VPS ip for the domain.
- Deployed the app on VPS with dokploy using github integration.
- I added custom domain record in dokploy.
- I can't find port because it is running on docker and when I ssh into vps and check, there are no ports assigned for application container.
- App is running well with traefik generated domain.
- When I go the domain it is giving me "This site can’t be reached"
- When I go to VPS ip is is givng me "04 page not found" but is not the nextjs app's 404 page.
I am not sure what is actually going wrong here. Can someone please help me with this?
7 replies