How-to Guides Websites & files
Turn a local preview into a real website. We built and published a small Vite starter on FixusHost, using static files you can inspect and deploy yourself.
Before you start
You’ll need a cPanel account, a domain or subdomain to publish to, and Node.js 22.12 or later on your computer. The demo has no login, database or API. If your AI-built project relies on any of those features, keep its existing backend connected and verify it separately.
Build the project locally
Unzip the starter and open a terminal in the folder that contains
package.json. Run:npm ci npm run build npm run previewOpen the local preview URL shown in your terminal. Click Test this page and confirm it changes the status text. Stop the local preview when you’re done.
Using an AI builder? Export the project, check its build command and verify that the build produces static files. This example uses Vite’s
distfolder and setsbase: './'so its assets work in the demo’s subfolder.Choose the folder cPanel serves
In cPanel, open Domains and locate the target domain’s Document Root. Open that folder in File Manager. To practise inside a folder, create an empty folder beneath that root. The live example is in
public_html/launch-check-demo.If the destination already contains a website, start in a fresh folder and keep the original site available.
Upload the built files
Zip the contents of
distwithindex.htmlat the top level. Include theassetsfolder. In File Manager, select Upload, choose the ZIP and use Extract in your chosen folder. Verify thatindex.htmlsits besideassets. Keep project source, environment files andnode_moduleson your computer.Open the public URL and test it
Open your URL in a private window. Confirm the page has its styling and that Test this page works. If your app has its own routes, open a deep link directly and refresh it. A route that only works after navigation needs the correct routing setup for your app and host.
Run Launch Check on the hostname for public DNS and HTTPS, then test the full URL to verify the folder or route you deployed.
References. Vite’s static deployment guide, cPanel File Manager and Lovable’s deployment and ownership guide.
