← Back to Documentation

How to publish a static site

There are 3 ways to publish a static site in Roe:

  1. Download a zip of your site and upload it directly to your host
  2. SFTP (SSH File Transfer Protocol)
  3. FTPS (File Transfer Protocal Secure)

Most web hosting providers will offer one or all of these. Check their documentation to determine the options they provide for publishing your site.

How to download a Zip of your site

You can download a full zip of your entire site/ folder at any time. This can be used as a backup or to upload to a web host.

  1. Go to Site Sync → Static Site Sync
  2. Choose the ZIP Download option
  3. Click DOWNLOAD ZIP

How to set up SFTP

This is the recommended option to sync your files from Roe to your web host.

  1. Go to Site Sync → Static Site Sync
  2. Choose SFTP
  3. Host - Get the host from your hosting provider for FTP and enter that here.
  4. Port - should be set to 22
  5. Username - your hosting account username (e.g. your cPanel account)
  6. SSH private key - add your private key here
  7. Key passphrase - if you added a passphrase to your key when it was created, add that here
  8. Remote path - The folder on your host you want to publish into - commonly public-html but can vary by host.

cPanel

Many web hosting providers install cPanel to help you manage your site. These docs may come in handy: