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

# Deploying Your Site on Starhost: Upload and Go Live

> Learn how to deploy your website on Starhost using file upload, FTP, or Git integration. Preview changes before pushing to production.

Starhost gives you multiple ways to deploy your website, so you can choose the workflow that fits how you build. You can drag and drop files straight from your browser, connect an FTP client for bulk uploads, or link a Git repository for fully automated deployments on every push. Every deployment is versioned, so you can roll back to a previous version at any time.

## Deployment methods

<Tabs>
  <Tab title="Dashboard Upload">
    The simplest way to deploy — upload your files directly from your browser using drag-and-drop or a file picker. No extra tools required. Best for static sites and quick updates.
  </Tab>

  <Tab title="FTP / SFTP">
    Connect your favourite FTP client (such as FileZilla or Cyberduck) using the credentials provided in your site settings. SFTP is supported for encrypted transfers. Best for larger file sets or when you prefer a dedicated file manager.
  </Tab>

  <Tab title="Git Integration">
    Link your GitHub or GitLab repository to your Starhost site. Every push to your configured branch triggers an automatic deployment. Best for teams and projects with a continuous delivery workflow.
  </Tab>
</Tabs>

## Deploy via the dashboard

<Steps>
  <Step title="Open your site in the dashboard">
    Log in to [mystarhost.com](https://mystarhost.com), then select the site you want to update from your dashboard.
  </Step>

  <Step title="Go to Deployments">
    In your site menu, click **Deployments**, then click **New Deployment**.
  </Step>

  <Step title="Upload your files">
    Drag your files or project folder into the upload area, or click **Select Files** to browse your computer. Starhost accepts all standard web files including HTML, CSS, JavaScript, images, and other assets.
  </Step>

  <Step title="Preview the deployment">
    Before publishing, Starhost generates a preview URL so you can inspect your changes in a live environment without affecting your production site. Click the preview link to review everything.
  </Step>

  <Step title="Publish your site">
    When you're happy with the preview, click **Publish**. Your updated site goes live immediately and the deployment is saved to your history.
  </Step>
</Steps>

<Tip>
  Always use the preview deployment to review your changes before publishing, especially for production sites with real visitors. It only takes a moment and can save you from pushing broken pages live.
</Tip>

## Git integration

Connect your GitHub or GitLab repository for automated deployments:

1. In your site settings, go to **Deployments → Git Integration**.
2. Authorise Starhost to access your GitHub or GitLab account.
3. Select the repository and branch you want to deploy from.
4. Save your settings.

From that point on, every push to your configured branch automatically triggers a new deployment on Starhost. You can monitor deployment status and logs from the Deployments tab in your dashboard.

## Rolling back a deployment

If a deployment introduces an issue, you can instantly roll back to any previous version:

1. Open your site in the dashboard and go to **Deployments**.
2. Find the deployment you want to restore in the history list.
3. Click **Rollback** next to that deployment.
4. Confirm the rollback — your site reverts to that version immediately.

<Note>
  Rollbacks are instant. The rolled-back deployment becomes your active production version, and the newer deployment is preserved in your history in case you need it again.
</Note>
