Deploy · four starting paths

Move from localhost to production

A working local URL proves that a service runs on your own machine. Before other people can reach it, check where the process listens, how traffic arrives, what configuration changes, and how you will verify the release.

Next.js

Run the project's production build and start command in a production-like environment. Verify the actual URL and port from the deployment platform, then test a page, an API route, and an image or other static asset.

Inspect pasted configuration · Next.js deployment documentation

Node.js

Make the listening port configurable for the deployment environment. Ensure the process binds to the interface expected by your host or reverse proxy, while the public endpoint uses HTTPS.

Generate a listener or HTTP check · Node.js server.listen documentation

Docker

A container's listening port and the host's published port are different. Confirm that the service listens on the expected container interface and that Compose or your host publishes the intended port.

Map a Compose file · Docker port publishing documentation

Headless WordPress

The website frontend and WordPress API often have separate origins. Replace local URLs in both systems, test the API from a browser, and check that the production origin is allowed when cross-origin access is required.

Analyze response headers · Local WordPress access guide

Final check: Open the public URL from a device outside your development machine. Confirm the expected page, API response, redirects, and logs. The navigation's Production Deployment Checklist provides a downloadable checklist.