Getting Started with Static HTML Hosting
Deploy your static HTML websites on ShardCloud with minimal configuration and maximum performance. Under the hood, we run a production-configured NGINX server to serve all your static files.ShardCloud supports static HTML websites with fast CDN delivery and automatic optimization.
Prerequisites
Before uploading your static website, ensure you have the following project structure ready.Required Files
Essential files for deployment
Required Files
Your static HTML website must include these two essential files:1. Entry Point File
- File:
index.htmlor your main HTML file - Purpose: Main website entry point
- Requirements: Valid HTML document that serves as your homepage
2. ShardCloud Configuration
- File:
.shardcloud - Purpose: Platform-specific deployment settings
- Requirements: Plain text configuration file in root directory
ShardCloud Configuration
The .shardcloud file configures your website deployment settings.Configuration Example
Static websites require minimal memory since they’re served directly without server-side processing.
Deployment Process
1
Prepare HTML Files
Ensure your index.html and supporting files are ready
2
Configure Platform
Create .shardcloud file with deployment settings
3
Create Archive
Zip or RAR your project
4
Upload via Dashboard
Use ShardCloud dashboard to upload your archive
5
Deploy & Serve
Website immediately becomes available via CDN
