SFTP hosting

Transfer the files of your project to your server via a SSH File Transfer Protocol

Diego Muralles avatar
Written by Diego Muralles
Updated over a week ago

SFTP (Secure File Transfer Protocol) is a secure way to transfer files between Vev and a remote server. By adding SFTP hosting to your account, you can easily upload and download files to and from your server.

Create SFTP hosting

  1. In the dashboard, click on your avatar in the left sidebar and click on Hosting

  2. Click Create hosting

  3. Enter your domain or sub-domain (e.g www.mywebsite.com) for navigation purposes - you will add your hostname in the next stage.

  4. Select Advanced hosting option as the hosting option

  5. Choose SFTP hosting from the list

  6. Decide on the access level (public or private).

  7. Click on Create hosting

☝️ Upgrade from the Starter plan to the Professional plan to unlock SFTP hosting as an Advanced hosting option!

Setting up your SFTP hosting

To successfully connect your SFTP hosting, it's essential to provide several parameters. While some are mandatory, others are optional, depending on your server configuration.

Take a look at the list below to understand each parameter's function:

  • Hostname (FTP server IP or address) (required)

    • Enter the hostname or IP address to connect Vev when publishing.

  • Port

    • Set the port you want Vev to connect to (defaults to 21).

  • Webroot folder

    • Specify the folder on the target system where you want Vev to upload your files.

  • FTP username

    • Recommended, defaults to "Anonymous".

  • Private key password

    • If you prefer a password-protected private key, enter it here.

  • Ping

    • Enable this option to grant Vev permission to send pings.

  • Unpublish

    • Enable this option to grant Vev permission to unpublish the content.

RSA Public key

The RSA (Rivest–Shamir–Adleman) public key is used for encrypting data or verifying signatures. You can copy the public key from your SFTP settings page, you could paste it into the respective field or configuration setting within your application.

Additional settings for your domain

Adding a web path

You can add a path to your domain at the core level, which means it will be used as a base path in all projects to which the domain is added.

Select your default content language

Here you can set the default content language for all your published projects. This determines the language and character encoding used for the text content in your websites, ensuring proper display and functionality.

Adding a Favicon

A favicon is a visual representation of your web page that helps your user visually identify and distinguish websites when they have multiple tabs open. Simply drag and drop your file into the designated area.

Publishing to your SFTP hosting

After setting up your SFTP hosting correctly, follow these steps to add it as a publish destination:

  1. Open the project you want to publish

  2. Click the Publish button on the top right corner

  3. Select Add publish destination from the publish dialog

  4. Choose your domain from the dropdown list

  5. Add a path to your domain or leave it blank if you want to publish to its root (the path will only be added at a project level)

  6. Hit Add publish destination

  7. Open the publish dialog

  8. Hit Publish project

To publish via your Webhook, you need to upgrade to our Professional plan.

Unpublishing a project

To unpublish your project from your Webhook, you have two options:

  1. Unpublishing from the publish modal

    1. Click on the "Publishing" button to access the Publishing Modal.

    2. In the Publishing Modal, locate your domain.

    3. Click on the overflow menu (represented by three dots) associated with your domain.

    4. From the options displayed, select "Unpublish."

    5. A pop-up menu will appear asking you to confirm your decision. Click on "Unpublish" to proceed.

    6. After confirming, your project will be unpublished. Please note that it may take up to 5 minutes for the changes to take effect, and your page will no longer be accessible.

  2. Unpublishing from the SFTP settings page

    1. In your Webhook settings page, click the "Projects" tab on the left bar

    2. If you have published projects, click the three dots next to the project you want to unpublish and click "Unpublish".

    3. The project will no longer appear on the list.

Choose the option that best suits your workflow to unpublish your project from the Webhook.

If you're having trouble unpublishing your page, we're here to help! Please reach out to our support team for assistance.

Did this answer your question?