Yes. You can host a site built with an external AI tool on Ecenica web hosting if the tool lets you export files you can publish. If your export needs software to run on the server, check the requirements before you upload it.
Check what your tool exports
A static website is a set of files ready to serve to visitors. It usually includes index.html, stylesheets, browser JavaScript and image folders. You can upload those files to cPanel web hosting.
A source project may contain files such as package.json or folders such as src. Check the tool’s export instructions. You may need to run a build first and upload the finished output. Build tools often put it in a folder named dist or build, but the name depends on the project.
Some projects also need a server runtime, which runs application code on the server, or a database. Check with Ecenica support if your project needs Node.js, a database, background jobs or another service. Share the requirements and version numbers from the tool’s documentation.
Upload a static website
- Export or build the publishable version of the site. Keep all the files and folders together.
- Make a backup of any existing site before replacing its files.
- Open File Manager in cPanel.
- Find the domain’s document root, the folder that serves its public files. This is usually
public_htmlfor the main domain. Check Domains in cPanel for the folder assigned to an additional domain. - Upload the finished files into that folder. Keep
index.htmlat the top level and retain the folders it uses for styles, scripts and images. - Open your domain over HTTPS. Test the home page, links and images, then check any forms or sign-in features.
Keep .env files, API keys and passwords outside the public folder. If browser JavaScript contains a secret key, remove it before publishing. Visitors can read JavaScript sent to their browser.
Troubleshoot your upload
- The home page shows a placeholder or directory listing. Check that
index.htmlis in the domain’s document root rather than one folder below it. - Images or styles are missing. Check that you uploaded their folders and that the file names and capitalisation match the links in the HTML.
- A contact form or login fails. Check the export instructions for a required API, database or service. Some features depend on the platform where you built the site and need to be configured again after moving.
Frequently asked questions
Can I move a site that only offers a publish button?
Check whether the tool offers an export or download option. If it hosts the site itself and has no export, check whether it supports connecting your domain to its hosting.
Do I need Node.js to host a site built with a JavaScript tool?
A finished static export runs in the browser. If the tool requires Node.js to serve pages or handle API requests, your hosting plan needs a compatible runtime. See how to run a Node.js app in cPanel for the requirements on Ecenica hosting.
Will my existing website be affected?
Uploading files into a live site’s document root can replace its pages. Use a separate test subdomain or take a backup before uploading.
Can I upload a ZIP file?
Yes. Upload and extract the ZIP in File Manager, then check that its contents are in the right folder. Remove the ZIP from the public folder after extracting it.