HTML web hosting serves HTML pages and their CSS, JavaScript, images and fonts at public URLs. It suits portfolios, documentation, business websites and prototypes that do not need a server to generate each page.
What static hosting can—and cannot—run
Your browser can run JavaScript for menus, calculators and interactive interfaces. PHP, a Node.js server, private database queries and server-side WordPress plugins do not run merely because their files are uploaded. Use a separate backend or a supported service when you need those capabilities. On htmlhost, a site can also keep its own data in collections and call services that need a secret key through secure calls, with no server of your own.
A framework project must be exported or built into static files first. Upload the generated output rather than expecting the host to compile source files or run a development server.
How to choose an HTML host
- Workflow: can you publish a folder from your browser, terminal or repository, and update the same site later?
- Lifetime and limits: check expiration, total site creations, storage and file-size limits, not just the word “free”.
- Addresses: check HTTPS, custom-domain pricing and how nested pages and redirects work.
- Forms: decide where submissions go and whether delivery, spam protection and notifications are provided.
- Portability: keep your original HTML and assets so you can edit, back up or move the site.
Security and maintenance
Serving static files avoids running a CMS or database for every page request, which reduces some server-side attack surfaces. It does not make a site unbreakable. Client-side scripts, third-party dependencies, account access and external services still need care.
Never put passwords, private API keys or confidential records in published HTML or JavaScript. Visitors can download public files. On htmlhost, save secret keys in the site's Keys tab instead, where pages use them only through secure calls. Keep dependencies current, test links and forms after changes, and retain a backup.
Hosting on htmlhost
Import a file, folder or ZIP to open the editor, inspect the result, then publish. You can also deploy a folder with the CLI after signing in. Read the step-by-step HTML hosting guide for a downloadable project and troubleshooting.
A signed-in Free account includes 3 site creations in total, 500 MB of site storage, and its sites never expire. Deleting a site does not restore a creation slot. Pro includes unlimited sites. Custom domains are included with Pro or available as a paid add-on on Free. Check current plans and limits before publishing a permanent site.
Multi-page URLs and shared assets
Each HTML file can be a page in one project: index.html serves the home page, about.html maps to /about, and services/consultation.html maps to /services/consultation. CSS and images remain separate project files.
Use the multi-page tutorial to build navigation and resolve assets from nested pages.
Custom domains
Connect a domain in Settings and follow the DNS instructions shown for that domain. Allow time for DNS verification and certificate provisioning. A purchased domain and a hosting subscription are separate things; review domain and plan options before choosing.