Skip to content

Static Website Hosting

Static Website Hosting provides a sovereign, secure platform for deploying static websites on SITE Cloud.

Overview

Static websites are commonly used for corporate landing pages, documentation portals, and marketing sites. SITE Cloud Static Hosting keeps hosting components such as storage, CDN, and TLS termination inside the Kingdom, supporting data sovereignty and regulatory requirements.

The service includes automated vulnerability scanning, unified management, and continuous security monitoring for deployed static content.

Core Concepts

Concept Description
Static Hosting Instance A self-contained environment for hosting a static website.
Deployment A ZIP bundle of static files uploaded to a Static Hosting Instance.
Vulnerability Scan Automated security check performed on each deployment.

Creating a Static Hosting Instance

A Static Hosting Instance automatically provisions:

  • A dedicated CDN instance.
  • Object Storage buckets in Riyadh and Jeddah.

All resources are created and managed through Cloud Portal.

To create an instance:

  1. From the Static Hosting product page, click Create.
  2. Select a Tenant and Business Group from the dropdowns.
  3. Select the parent Domain, and an optional Subdomain prefix.
  4. (Optional) Add Custom Headers by entering a key and value, then clicking Add.
  5. Click Submit.

Warning

Cache related custom headers will be ignored.


Uploading a Deployment

A deployment is a ZIP bundle of static files uploaded to a Static Hosting Instance.

Deployment capabilities include:

  • Drag-and-drop upload.
  • File-selection upload.
  • Malware and static-code vulnerability scanning before going live.
  • Deploying or deleting the uploaded bundle.

Tip

Ensure that index.html is at the root of your ZIP file, not nested inside a folder. If you zip the containing folder rather than the files directly, the site will not serve correctly.

To create a new deployment:

  1. Navigate to your Static Hosting instance and select the Deployments tab.
  2. Click New Deployment.
  3. Enter a Name for the deployment.
  4. Upload your Deployment Zip File by dragging it into the upload area or clicking to browse.
  5. Click Upload & Deploy.

Once uploaded, the deployment appears in the list with its scan result. The active deployment is marked with a Live tag.

Note

Only one deployment can be live at a time. Previous live deployments are automatically demoted when a new deployment goes live.

Security Scanning

Vulnerability scans:

  • Run automatically before deployment.
  • Run weekly for live deployments.
  • Show result details in deployment details.
  • Generate a downloadable PDF report with findings and recommendations.

Operational Considerations

Consideration Detail
Data sovereignty Assets, CDN caches, and TLS termination remain inside the Kingdom.
Secure deployment pipeline Deployments are scanned before going live and rescanned weekly while live.
Simplified management Instances, deployments, scans, metadata, and history are managed from one interface.
Flexible lifecycle Reserved storage per instance supports multiple deployments and rollback planning.
Operational transparency Status, metadata, audit trails, deployment history, scan results, and metrics are available through the service.

Key Capabilities

  • Create and manage Static Hosting instances.
  • Upload and manage multiple deployments with reserved storage.
  • Switch between deployments.
  • View deployment history, scan results, and audit trails.
  • Access metrics through the Insights tab.
  • Configure custom headers for content delivery.