How to Publish Your Next.js Website
The download is a standard Next.js project that builds to plain files. How to run it, build it, put it on four kinds of host, and what changes when you leave Maker99 hosting.
Maker99 teamPublished Updated 6 min read

To deploy a Next.js website you downloaded from Maker99, you build it once on your computer and upload the result, or let a host such as Vercel build it for you. The project is set up as a Next.js static export, so the finished site is a folder of HTML, CSS and JavaScript files called out. That means you can deploy Next.js website projects like this one to any host that serves files, with no Node.js server in production.
Below: what is in the download, how to build it, step-by-step instructions for Vercel, Netlify, Firebase Hosting and any other host, and the things that behave differently once the site is no longer hosted by us. Code download is available on every paid plan (Starter, Pro and Agency). If you are still deciding whether you need the code at all, read do I own the code from an AI website builder first.
What you are deploying: a Next.js static export
The download is the kind of project a developer would write by hand. The parts that matter for publishing:
package.jsonwith three scripts:dev,build, andstart(which serves the builtoutfolder withnpx serve out). It uses Next.js 15.5, React 19 and Tailwind CSS 3.4.next.config.mjs, which setsoutput: "export"and turns off Next.js image optimisation, since there is no server to resize images.app/, one folder per page, plusapp/privacyandapp/termsfor the legal pages.components/Header.tsxandcomponents/Footer.tsx, shared by every page.tailwind.config.tswith your colours and fonts, and your pictures inpublic/assets/media/.public/robots.txt, andsitemap.xmlandllms.txtwhen the site has a public address.netlify.tomlandfirebase.json, already pointing atout.- A
README.mdwith the commands below.
If you chose the plain HTML download instead, there is nothing to build: it comes with vercel.json, netlify.toml, firebase.json and a GitHub Pages workflow, and you upload the folder as it is.
Static export has limits, and they only matter if you extend the site. The Next.js docs list what it cannot do: redirects and headers set in the config, route handlers that read the request, cookies, server actions and default image optimisation all need a server. The generated site uses none of them.
Build it on your computer first
You need Node.js; the README asks for 18.18 or newer, and the current LTS release on nodejs.org works. Then, in a terminal inside the project folder:
npm installdownloads the dependencies (a minute or two the first time).npm run devstarts the site at http://localhost:3000. It reloads as you edit files.npm run buildwrites the finished site toout.npm startservesoutlocally, so you can click through exactly what will go online.
Do step 4 every time. A page that works in dev but breaks in the build usually means a change you made uses a server feature that static export does not support.
How to deploy Next.js website projects to four kinds of host
Deploy Next.js to Vercel
Vercel maintains Next.js, and its docs describe deploying Next.js as zero-configuration. Push the project to a GitHub repository (every paid plan can connect GitHub from Maker99) and import it as a new project in Vercel, or install the Vercel CLI and run vercel in the folder. It detects Next.js and runs the build; you don't need to enter settings. Every later push to the repository deploys again. We will cover this in more detail in our planned guide to hosting Next.js on Vercel.
Deploy to Netlify
The included netlify.toml contains two lines under [build]: command = "npm run build" and publish = "out". Those are the two keys Netlify's file-based configuration reads, so importing the repository needs no further settings. See our planned guide to hosting a website on Netlify for the domain and HTTPS steps.
Deploy to Firebase Hosting
The included firebase.json serves out with clean URLs, so /about loads about.html. With the Firebase CLI:
npm install -g firebase-tools, thenfirebase login.- Create a project in the Firebase console, then link the folder to it with
firebase use --add. npm run build, thenfirebase deploy --only hosting.
The site goes live on a web.app address first. Our planned Firebase hosting guide covers adding your own domain.
Any other host
Run npm run build and upload the contents of out (not the folder itself) to the web root by FTP, your host's file manager or its own deploy tool. Two things to check: the site must live at the root of its domain (example.com, not example.com/site), and the server should map /about to about.html. The Next.js static export docs include an nginx example that does exactly that with try_files.
| Host | Config included | Who runs the build | Deploys on every Git push |
|---|---|---|---|
| Vercel | None needed | Vercel | Yes, when connected to Git |
| Netlify | netlify.toml | Netlify | Yes, when connected to Git |
| Firebase Hosting | firebase.json | You, locally | No, you run firebase deploy |
| Shared hosting, nginx, S3 | None | You, locally | No, you upload out |
What changes when you leave Maker99 hosting
Forms keep working. By default, the contact form sends entries to the backend Maker99 hosts for your site, so they keep arriving in your Maker99 dashboard wherever the pages are hosted. To send them elsewhere, set NEXT_PUBLIC_API_URL at build time; the .env.example file in the project explains the options.
Your domain is configured at the new host. You add the domain in the host's settings and copy its DNS records to your registrar. Our guide to AI website builder hosting and custom domains walks through the records and the common mistakes, so we won't repeat it here.
Canonical links and the sitemap use the address you set in Maker99. If you set your own domain before downloading, the pages already point to it. If the domain changes later, update metadataBase in app/layout.tsx and rebuild.
Edits no longer sync. Treat the download as a snapshot. Changes you make in Maker99 afterwards need a fresh download, and changes you make in the code stay in your copy.
Before you go live
- Replace the stock and AI-generated pictures in
public/assets/media/with your own, especially any showing people. - Check every price, opening time and address; they were written from your description.
- Read the privacy policy and terms and adapt them. Our guide to privacy policy and terms for your website lists what to change.
- Send yourself a test message through the form on the live site.
- Open the site on a phone and run it through a speed test. Our planned Core Web Vitals guide explains what the scores mean.
Frequently asked questions
Do I need Vercel to host a Next.js website?
No. Vercel is convenient because it builds Next.js with no settings, but a static export runs on any host that serves files: Netlify, Firebase Hosting, GitHub Pages, shared hosting or your own server.
Can I deploy a Next.js website for free?
Often, yes, for a small static site. Firebase's Hosting quickstart says sites on the web.app and firebaseapp.com subdomains are served at no cost, and other hosts have free tiers. Check each host's current pricing page for limits on bandwidth and custom domains.
Why do I get a 404 on pages other than the home page?
Usually the server is not mapping /about to about.html, or the site was uploaded into a subfolder. Upload the contents of out to the web root and turn on clean URLs or add a rewrite rule.
Can I keep hosting with Maker99 and still have the code?
Yes. Downloading does not take the site down. Many people keep the Maker99-hosted site live and keep the code as a backup or for a developer to extend later.
Next step
If you have not built the site yet, start with how to create a website with AI, then sign up for Maker99 and download the project once it reads right. For the search side of launch, Google's SEO starter guide and our planned website SEO basics guide are the next things to read.