I have created a small test app to learn Next/React, and it runs locally using npm run dev
. But I want to host it on a domain I bought and run at SmarterASP.
The problem is, when I run npm build
it builds… and I see a .next
folder appear, containing this:
If I look at static
, I see this:
I was hoping to see an index.html file or some entry point to launch the app. I feel my understanding of how next apps are hosted is badly flawed.
How can I host my nextJS app, on a static type server? I thought you could basically host these on a file server, like React. But looks like there might be more to it.
Any help with getting my app to run on my hosting service (SmarterASP.net) would be amazing.