Hostinger AI Builder, formerly Hostinger Horizons, lets you download code from projects made in Agentic mode. That does not move a complete website to another provider automatically: the documented export is a React and Vite project, while the integrated backend and its data are managed separately in Hostinger.
This guide covers a verifiable route: export the code, keep the current site available while you prepare, check its backend dependencies and publish the frontend from Git. Do not cancel your plan or change DNS until you have tested each feature and have a copy or migration for the data you need.
1. Export the code and keep the original online
Export requires a paid plan and Agentic mode. In the AI Builder dashboard, open your project, choose Code, then Export code. Download and extract the ZIP into a new folder. Hostinger says an exported project cannot be imported back to continue editing it with prompts.
The documented export format is React with Vite. Confirm that in package.json and review the actual build and dev scripts. Do not assume an older Horizons project has the same structure.
2. Check whether the app can move, not just its interface
Look for API calls, Supabase or other services, environment variables, authentication, forms, payments and file uploads. Variables prefixed with VITE_ are included in browser JavaScript; never put private keys there.
The code export does not include Hostinger integrated-backend data. Hostinger currently says it does not provide an export tool for that data. If your app uses accounts, submissions, files or customer records stored there, solve their storage and migration before switching providers. Republishing the frontend does not recover passwords or data.
If your project already uses an external backend, identify its operator, data location, credentials and allowed domains. Changing the frontend does not move Supabase, Firebase, an API or payment processor. Store private credentials in server-side environment variables or the relevant service, never in Git.
3. Test the Vite build
From the extracted folder, install dependencies and run the project’s actual build script:
npm ci
npm run build
npm ci requires a package-lock.json; if the ZIP has no lockfile, review the setup before choosing how to reproduce the install. Hostinger’s export guide describes Vite output as static files. Confirm that dist/index.html exists and that assets and network requests work; a dist folder does not include a backend.
For a React/Vite interface that can be served as static files, follow our tested React and Vite from Git guide. It includes Projects configuration and an SPA route fallback to avoid 404s on refresh. If the app needs a persistent Node process, identify its start command, port, environment and storage; static output does not replace that server.
4. Put the project in Git and deploy it
Hostbrid Projects imports a Git repository; the Hostinger ZIP is not imported directly into the panel. Create a private repository with your Git provider, upload the exported code without node_modules, secrets or data files, and connect the repository to Projects. Review the permissions requested by the connection.
For a static Vite build, npm run build and dist are a typical starting point; confirm both in package.json and vite.config.*. Follow the Projects documentation to connect the repository and configure the build. If the app is not static, first review hosting requirements for an AI-built app and validate its runtime with support before moving it.
5. Test on a temporary URL before moving the domain
Check from a private window and another device:
- Home page, assets, internal routes and direct refresh of each route.
- Login, forms, payments and files, if the app uses them.
- API requests, allowed origin, CORS mode and environment variables.
- Metadata, canonical, sitemap and robots for the final domain.
- No private keys in browser-visible code, the repository or build files.
Keep the original site while fixing failures. Before changing DNS, keep a content backup and a way back. Move the domain only after functional checks pass and the new backend has the data it needs.
If your export is a Vite frontend and you want to verify the deployment process, start with Hostbrid Projects and review its prices and limits. If the project depends on Hostinger’s integrated backend or you are unsure whether it is static, describe the architecture before migrating; do not send passwords, API keys or personal data when asking for help.
Official sources: export code from Hostinger AI Builder · integrated backend and data export · Horizons becomes AI Builder · Vite environment variables.