> ## Documentation Index
> Fetch the complete documentation index at: https://kmerhosting.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy a website

> Choose a KmerHosting deployment path and publish a website safely.

The correct deployment path depends on whether the project needs a managed web environment or server-level control.

## Choose the platform

| Workload                                    | Recommended path      |
| ------------------------------------------- | --------------------- |
| Static HTML/CSS/JavaScript                  | Shared Hosting or VPS |
| WordPress and common PHP sites              | Shared Hosting        |
| PHP with MySQL and control-panel management | Shared Hosting        |
| Node.js, Python, Go, workers, queues        | Tiny VPS or VPS       |
| Docker Compose and custom system packages   | VPS                   |

## Shared Hosting deployment

1. Activate a Shared Hosting service.
2. Open DirectAdmin.
3. Attach or confirm the domain.
4. Upload the website to `public_html`.
5. Configure the runtime or installer.
6. Confirm DNS and HTTPS.

<Frame caption="Upload the public website files to the domain document root in DirectAdmin.">
  <img src="https://mintcdn.com/kmerhosting-a736a8a9/qmzUGdL1AajWuhXn/images/screenshots/directadmin-file-manager.png?fit=max&auto=format&n=qmzUGdL1AajWuhXn&q=85&s=57573cfacd04066d2151fa2829069975" alt="Upload the public website files to the domain document root in DirectAdmin." width="1600" height="900" data-path="images/screenshots/directadmin-file-manager.png" />
</Frame>

## Server deployment

For Tiny VPS or VPS, connect through SSH, update the system, deploy the application, use a process manager where appropriate, and configure a reverse proxy.

<CardGroup cols={2}>
  <Card title="Shared Hosting stacks" href="/docs/guides/shared-hosting-stacks" icon="panel-top">DirectAdmin, static sites, PHP, MySQL, and WordPress.</Card>
  <Card title="VPS stacks" href="/docs/guides/vps-stacks" icon="server">SSH, runtime installation, PM2, Docker, and Nginx.</Card>
</CardGroup>
