You can host a Node.js app with PostgreSQL on Hostinger without putting the database on a VPS. Hostinger documents a managed Node.js app connected to Supabase, which hosts the PostgreSQL database separately. If you want PostgreSQL on Hostinger’s own infrastructure, its database guidance points to a VPS. That gives you server control, along with responsibility for operating and recovering the database.
For an app owner, the first question is therefore not “Does Hostinger support PostgreSQL?” It is “Where should this app’s database live, and can its server run within Hostinger’s managed deployment rules?” An exported repository can contain a server, static pages and dependencies on services that still live elsewhere. The worksheet below helps you identify those pieces before choosing either product. Hostinger and Supabase documentation cited here was checked October 4, 2026; confirm current plan entitlement and checkout details before ordering.
Two workable architectures, with different owners
Consider a small booking app exported from an AI coding tool. Its Node.js or Next.js server accepts bookings and writes them to PostgreSQL. It has page and API requests, but no known background worker or unusual database extension. The owner still needs to inspect the repository: sign-in, file storage and email might depend on other services, and schema migrations might run as part of deployment. A local development run cannot answer those production questions.
On the managed route, Hostinger runs the application service and Supabase runs PostgreSQL. Hostinger’s Supabase integration instructions supply connection settings to the Node.js app; they do not copy tables, change the ORM, move users, or relocate storage and functions. If the booking app already uses Supabase, the database can stay where it is while the app server moves, provided its code and deployment workflow fit Hostinger’s managed runtime.
On the VPS route, you can install PostgreSQL on a Hostinger machine alongside the app. Hostinger advertises a PostgreSQL VPS deployment option, while its VPS product is self-managed. Installation help does not cover the ongoing job: someone needs to manage access, updates, monitoring, backups and restoration. The VPS also makes sense if the app requires a server process or configuration unavailable on the managed product. PostgreSQL alone is not evidence of that need.
Scroll horizontally to read all columns.
| Decision point | Managed Hostinger Node.js + Supabase PostgreSQL | Hostinger VPS + self-managed PostgreSQL |
|---|---|---|
| Where does the app run? | On an eligible Hostinger managed Node.js product, subject to its current deployment and plan rules. | On the VPS under your server configuration. |
| Who hosts PostgreSQL? | Supabase, under a separate project and its own plan. | You install and operate it on the Hostinger VPS. |
| Who manages the server? | Hostinger manages the app-hosting platform; you maintain the application and its dependencies. | You, or an operator you hire, administer the VPS and database. |
| What is the purchase boundary? | App-hosting bill plus external database bill and any other app services. | VPS bill plus your administration and any separately purchased services. |
| Main fit question | Can this code build, start, connect and run its migrations through supported managed workflows? | Can you responsibly operate and recover the application and database? |
An existing Neon database introduces a third practical case: Hostinger’s managed app with the current external database, if its connection works from that runtime. The published Supabase wizard documents Supabase specifically. It does not certify Neon connectivity or justify migrating a working database for the sake of an integration screen. Record the existing provider and test its endpoint against the app’s driver and deployment environment.
Take this worksheet to the repository before checkout
Open the exported project and its current database dashboard. Record the answers privately, without copying credentials into the worksheet. Each row either confirms the managed route is plausible or gives you a precise question to take to Hostinger before ordering.
Scroll horizontally to read all columns.
| Evidence to collect | Where to look | Why the answer changes the purchase |
|---|---|---|
| Runtime, framework and process | package.json scripts, framework config, deployment files and actual server entry point | A static export and a server that handles API requests have different needs. Hostinger separates managed Node.js, VPS and static-only Agency routes. |
| Build and start commands | Lockfile, package scripts and required environment variables | Check that the managed deployment supports the commands and runtime the app uses; a local npm run dev result is not a production start procedure. |
| Database provider and client | Current provider dashboard, connection code, ORM or driver config | Identify whether PostgreSQL is already external and whether the client expects a direct connection, a pooler, SSL or a provider-specific SDK. |
| Schema migration command and execution point | Migration scripts, CI workflow and deployment instructions | Determine where migrations will run. Hostinger’s managed Node.js instructions describe npm execution during deployment but say npm commands cannot be run through SSH on the named Business/Cloud plans. Do not buy a plan assuming an interactive SSH migration step. |
| Other service dependencies | Authentication, file storage, functions, scheduled work, email and payment configuration | A PostgreSQL connection does not move these services. An app with a required worker or persistent local files needs a separate compatibility check. |
| Recovery and billing owners | App-hosting and database dashboards, backup settings, invoices, responsible person | Two providers mean two sets of renewal, backup and restore decisions. On a VPS, one owner must handle server and database recovery. |
Hostinger provides export and deployment instructions for sites built with tools such as Lovable and Bolt. That gets the code out of the builder; it does not tell you which parts need hosting. A static frontend may still call an API or database service elsewhere. Conversely, if the exported server routes write bookings, Hostinger’s static-only Agency route cannot run that backend. Look for the server entry point and API routes before paying for either a VPS or a managed Node.js product.
Treat the migration command as a separate deployment requirement. For a new app it may create tables; for an existing one it may change records users rely on. Hostinger’s managed deployment instructions describe npm execution during deployment but say npm commands cannot be run through SSH on the named Business/Cloud plans. Check whether a supported deployment step, CI job or separate approved environment can run the migration with the right connection and credentials. If the repository’s only documented procedure is interactive SSH, resolve that gap before choosing the managed route; it is not by itself proof that a VPS is necessary.
Check the database connection the app actually uses
Supabase’s connection guide distinguishes direct connections from pooler options. Its direct connection uses IPv6 unless an IPv4 option is available; pooler modes have different client behavior, including considerations for prepared statements and migration tools. These are choices to match to the application, not a universal connection string. The documentation does not establish that Hostinger is IPv4-only.
In the booking app, find the production ORM or driver configuration, then compare it with the actual connection dialog in the Supabase project. A long-lived server using prepared statements may need a different endpoint from a migration tool that requires a direct session. Check SSL requirements in the driver as well. Keep runtime and migration settings separate if those workflows need different connection modes. Our PostgreSQL connection pooling guide explains connection budgets; here the immediate issue is whether both workflows can reach a suitable endpoint.
Put connection secrets in the deployed server’s environment, not in a browser bundle. Match the variable names to the code and confirm the server process reads them; entering a URL in a dashboard neither creates the schema nor proves the app can connect. For Neon or another provider, use that provider’s actual endpoint and driver guidance rather than copying Supabase’s integration steps.
Before moving real bookings, rehearse in staging: deploy the server, connect to the database, run migrations through the confirmed route, create and read back one booking, then redeploy and check that the record remains. Also see what a temporarily unavailable database does to a booking request. For a customer-facing app, add the authorization and recovery checks in our AI-built app deployment checklist. This sequence tests the architecture you selected; neither product page can do that for your repository.
The plan card is only part of the cost
The managed plan name needs checking before the price does. Hostinger’s deployment support page names Business Web Hosting and Cloud plans, while its Node.js sales page displays Unlimited and Cloud Startup. The documentation does not establish that Business and Unlimited are the same checkout entitlement, or which qualifying plan is cheapest in your market. Verify that the selected plan includes the needed Node.js deployment route. Then compare its full term, renewal, taxes and optional services; a displayed introductory monthly equivalent may require prepayment.
For managed app hosting, add the Hostinger subscription to the chosen Supabase database subscription or the existing provider’s bill. Add storage, authentication or functions if the app uses separately priced services. Check backup scope in both dashboards: an app redeploy does not restore a lost database, and Hostinger’s app backup features do not automatically cover a separate Supabase project. Someone should know each provider’s retention and restore procedure and verify that a representative copy can be recovered.
For a VPS, include the operator’s time or fee. That person must schedule system and PostgreSQL updates, secure network access, monitor disk and database health, keep backups outside the failed server’s risk boundary, and test restoration. Hostinger’s managed-hosting explanation places those duties on the VPS customer. If no one can own them, a managed external database may be the safer operational fit even when the VPS plan card looks cheaper.
Compare the whole stack: app hosting plus external database and other services on one side; VPS plus operations and any separate services on the other. The current pages provide no supported universal cost winner for a particular app.
Make the choice from the evidence you have
Choose the managed Node.js route if the booking server builds and starts within its rules, the app and migration tool can connect to the chosen external database, and all remaining services have a known owner. Confirm the exact eligible plan in the selected market’s checkout; the Business/Unlimited naming difference prevents a reliable plan-name shortcut. Keeping a working external database is reasonable once its own connection path is verified.
Choose a VPS if the app requires server-level control the managed route cannot provide, or if running PostgreSQL on Hostinger infrastructure is a firm requirement. Put an operator and a tested recovery procedure in the plan before treating the machine as a production database host. If you are at that point, our Hostinger versus Contabo Node app comparison examines the VPS provider choice; the managed PostgreSQL versus VPS comparison examines database ownership more broadly.
The worksheet should now give you a purchase question specific enough for a current product page or support reply: can this named plan run this server and migration workflow, connect to this database endpoint, and leave every other service and recovery task accounted for?
Compare the current managed Node.js plan's runtime and deployment rules with your app before ordering; the PostgreSQL service remains separate. Confirm the selected term, renewal, and taxes at checkout.
Sources and checking
Product terms can change. These are the sources checked for this article; follow the links to verify current details before you buy.
- Hostinger: Connect a Supabase database to a Node.js application (checked 2026-10-04)
- Hostinger: Supported databases and data tools (checked 2026-10-04)
- Hostinger: Add a Node.js web app (checked 2026-10-04)
- Hostinger: Node.js hosting product page (checked 2026-10-04)
- Hostinger: VPS hosting product page (checked 2026-10-04)
- Hostinger: PostgreSQL VPS Docker hosting (checked 2026-10-04)
- Hostinger: What is managed hosting? (checked 2026-10-04)
- Hostinger: Host an exported Lovable or Bolt website (checked 2026-10-04)
- Hostinger: Node.js hosting options (checked 2026-10-04)
- Supabase: Connect to Postgres (checked 2026-10-04)
- Supabase: Pricing (checked 2026-10-04)
