Upload

Drag-n-Drop

to upload your archive

Upload

Free Domain Name
Try another
Full Name
Email
Password
I have an account

NEXT.JS HOSTING

Host a Next.js Website

Export your Next.js project as static HTML and host it on Static.app. No Vercel account required. No Git integration needed. Build locally, upload, and your Next.js website is live with its own URL.

Upload Next.js Website

Drag and drop files to upload.

Upload website file archives, images, documents, or PDFs.

Select File
  • Static export support

    Set output: 'export' in your next.config.js, run npx next build, and your entire Next.js app compiles to plain HTML files in the out/ folder. Ready to upload.

  • No Vercel dependency

    You don't need a Vercel account to host a Next.js website. Static.app hosts the exported output independently. Own your deployment, pay $5/monthnth instead of per-seat pricing.

  • Image and asset optimization

    Next.js optimizes your images and assets during the build step. The exported files are already optimized. Static.app serves them from a global CDN for fast loading everywhere.

How to host your Next.js website

  • 1

    Add output: 'export' to your next.config.js. If you use next/image, add images: { unoptimized: true } as well.

  • 2

    Run npx next build. The output goes to the out/ folder. ZIP the contents of that folder (not the folder itself).

  • 3

    Drag the ZIP onto static.app. Your Next.js website is live. Add a custom domain, enable analytics, and add password protection from the dashboard.

See it with your own eyes!
Video Thumbnail

All you need for Next.js hosting

  • Automatic SSL

    HTTPS on every website, automatic and free. No configuration needed.

  • Built-in form handling

    Add static-form to any form in your Next.js pages. Submissions land in your dashboard without a backend API route.

  • Custom domains

    Connect your own domain. Point DNS, and Static.app handles the rest including SSL provisioning.

Next.js Hosting FAQ

Can Next.js be self-hosted?

Yes, in two ways. For SSR, run the Next.js server on any Node.js host (VPS, Render, Railway). For static export, host the pre-built HTML files anywhere. Static.app is one of the simplest options for static exports: add output: 'export' to your config, run the build, ZIP the out/ folder, and upload. No Docker, no Node.js runtime, no process management.

Is Next.js hosting free?

Vercel offers a free tier for Next.js that includes SSR and serverless functions, with limits on bandwidth and commercial use. For static exports hosted elsewhere, Cloudflare Pages and GitHub Pages are free with limitations. Static.app costs $5/monthnth and includes unlimited traffic, built-in forms, analytics, and password protection. The right choice depends on whether you need server-side features or just want to serve pre-built HTML files.

Does SSR work on Static.app?

No. Static.app hosts pre-built files only, with no server-side runtime. For Next.js, this means you need to use static export mode by adding output: 'export' to your next.config.js. This pre-renders all pages as HTML files during the build step. If your app relies on SSR features (Server Components with server-side data fetching, ISR, or middleware), you need Vercel or another Node.js host.

Do API routes work?

No. API routes in Next.js (the /api directory) require a running Node.js server to process requests. On static hosting, there's no server to execute that code. The workaround is to move your API logic to a separate backend service (Render, Railway, Supabase) and have your Next.js frontend call it via fetch. For simple form handling, the static-form attribute on Static.app replaces the need for a custom API route.

What Next.js features don't work on static hosting?

API routes, Server Components with server-side data fetching, ISR (Incremental Static Regeneration), and middleware. These all require a running server. Static export generates HTML at build time.

Does the App Router work?

Yes, in static export mode. Set output: 'export' in your config and the App Router's static features work: layouts, nested routes, loading states, error boundaries, and parallel routes. The parts that don't work in static export are Server Actions, dynamic server-side data fetching, and middleware. If your app uses only client components and static data, the App Router works perfectly.

Can I use dynamic routes?

Yes, using generateStaticParams() in your route files. This tells Next.js to pre-render every combination of the dynamic parameter at build time. For example, a blog with /posts/[slug] generates a separate HTML file for each post. The resulting pages are static files that Static.app serves like any other HTML page. You need to know all possible parameter values at build time.

Does next/image work?

Yes, with one configuration change. Add images: { unoptimized: true } to your next.config.js. This tells Next.js to use standard <img> tags instead of its server-side image optimization (which requires a running server). Your images still display correctly, they just won't have the automatic WebP conversion and responsive sizing that Vercel provides. For most sites, the difference in loading speed is minimal.

Can I use Tailwind CSS?

Yes. Tailwind CSS is a build-time tool that generates a single optimized CSS file during next build. The output contains only the CSS classes your project actually uses, typically 10-30KB. Static.app serves this CSS file like any other static asset. There's nothing server-side about Tailwind.

What about trailing slashes?

Add trailingSlash: true to your next.config.js. Without this, Next.js generates files like /about.html. With it, the output becomes /about/index.html. The second format works more reliably on static hosts because the server can resolve /about/ to /about/index.html automatically. This also prevents redirect issues that can hurt page load speed and SEO.

What about internationalization (i18n)?

Static export supports i18n through sub-path routing. Each locale gets its own set of pre-rendered HTML files (e.g., /en/about/index.html, /fr/about/index.html). Upload all of them in your ZIP and Static.app serves the correct page for each URL. Note that automatic locale detection based on the Accept-Language header requires middleware, which doesn't work in static export. You'll need a client-side redirect or language selector instead.

Why not just use Vercel?

Vercel is excellent for full Next.js features (SSR, ISR, Edge Functions). If you only need static export, Static.app is simpler and cheaper with no per-seat pricing.

How does this compare to Vercel's free tier?

Vercel's free tier includes SSR, Edge Functions, and automatic Git deployment, but has bandwidth limits (100GB), build minute caps, and one commercial project restriction. Static.app's $5/monthnth plan has unlimited traffic, no build minute limits (you build locally), and supports multiple commercial sites. If you need SSR or serverless functions, Vercel is the better choice. If you're exporting static HTML and want simpler, unlimited hosting, Static.app costs less with fewer restrictions.

Start hosting your Next.js website now

Select File
or drop your archive to upload
Hey there 👋  Friends from designmodo are here to help!