Skip to main content

Requirements

Project Structure

my-site/
├── index.html
├── css/
│   └── style.css
├── js/
│   └── app.js
├── images/
│   └── logo.png
└── vertracloud.config  (optional)

Configuration

vertracloud.config

MAIN=index.html
SUBDOMAIN=my-site

Example: Landing Page

index.html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Site</title>
  <link rel="stylesheet" href="css/style.css">
</head>
<body>
  <header>
    <h1>Welcome to My Site</h1>
    <p>Hosted on Vertra Cloud</p>
  </header>
  <script src="js/app.js"></script>
</body>
</html>

Deploy

  1. Compress all files into a ZIP
  2. Access Dashboard → New Project → Application
  3. Select Static as language
  4. Set index.html as main file
  5. Configure desired subdomain
  6. Click “Create Application”

Compiled Frontend Frameworks

For React, Vue, Svelte or Angular projects, build locally and send only the output folder:
npm run build
# Compress the contents of the dist/ folder
Send only the contents of the build folder (compiled files), not the entire source code. The index.html file must be at the root of the ZIP.

Notes

  • Static sites do not need a backend server
  • All routes are served by the platform’s internal server
  • Automatic SSL via Let’s Encrypt
  • CDN and automatic caching for static assets
  • No support for route rewriting (SPAs with client-side routing need special configuration)