How to deploy a Next.js website

Yes the build where command generates the files in an output folder using the distDir directive in NextConfig.

You should deploy this as a html website. Create a website and upload your files as you see them in dist or build folder to the document root.

That is it. You should see your website up and running.