Next.js Discord

Discord Forum

Im neeed help on third web build.

Unanswered
Bernese Mountain Dog posted this in #help-forum
Open in Discord
Bernese Mountain DogOP
did the npm build but all thhe pages go to /.next folder.im confused what to move to my domain.im deploying a staking app .its ready but need to check the build on domain.

14 Replies

@Bernese Mountain Dog did the npm build but all thhe pages go to /.next folder.im confused what to move to my domain.im deploying a staking app .its ready but need to check the build on domain.
where are you going to host the site?
You can self-host Next.js in three different ways:

A Node.js server
A Docker container
A static export
@Ray where are you going to host the site? > You can self-host Next.js in three different ways: > > A Node.js server > A Docker container > A static export
Bernese Mountain DogOP
I build a nft staking app on polygon. using thirdweb.app runs on localhost:3000 but when I build it all the contents go to /.next folder.not simple dist/out folder. We have the domain but don't know what to put in the domain folder as contents are scattered in next folder.
@Ray after you run build, there will be a out folder
Bernese Mountain DogOP
Will I be able to interact with the polygon explorer through this?
As users will interact as well
Bernese Mountain DogOP
As this is a staking app.as I will deploy it on domain.our users will connect their meta mask wallet and stake NFTs and earn crypto token
check unsupported feature
if you site doesn't use one of these, it should be fine
otherwise, you need to host the site with nodejs
I think you can test it with
npm run build
npx serve out
Bernese Mountain DogOP
I'll check this and will tell.