← Help centre · Web hosting

Upload your website with SFTP

You upload your site's files with SFTP, using any SFTP program such as FileZilla or WinSCP. Plain FTP is not available.

Allow your IP address first

SFTP is closed until you add the address you connect from. Only addresses on your site's list can connect, which keeps password guessing away from your site.

  1. Open Web Hosting and choose Details for your site.
  2. Under Addresses allowed to connect, choose Add my current address, or type in an IPv4 address.
  3. Wait about a minute.

You can add up to 10 entries, each an IPv4 address or a network up to a /24. IPv6 addresses cannot be used.

If your program times out when it connects, your address has probably changed, which is common on home and mobile connections. Add the new one.

If your program says connection refused, too many wrong passwords have blocked your address for 10 minutes. Check the password saved in your program, wait, and try again.

Find your details

The Uploading your site panel on the same page shows:

Setting Value
Host shown on the page, for example sftp.srvgb.com
Port 22
Username shown on the page
Password shown on the page

If the page says the host or password is not available, ask us and we will send or reset it.

In FileZilla

  1. Open File → Site Manager and choose New site.
  2. Set Protocol to SFTP, and enter the Host and Port 22.
  3. Set Logon type to Normal and enter your username and password.
  4. Choose Connect. Accept the server's key the first time FileZilla asks.

Sign in with an SSH key instead (optional)

You can add SSH keys so your program signs in without the password. The password keeps working, and a key only works from the addresses on your list.

  1. On your site's page, under SSH keys, paste your public key. It is one line starting ssh-ed25519, ecdsa-sha2 or ssh-rsa, usually in a file ending .pub. The block PuTTYgen saves works too.
  2. Give it a name if you like, and choose Add key.
  3. Wait about a minute.

Never paste your private key. We refuse it if you do, but keep it to yourself anyway. ED25519 and ECDSA keys work, and RSA keys of 2048 bits or more. DSA keys cannot be used. You can add up to 10 keys.

To make a key on Windows, macOS or Linux, run ssh-keygen -t ed25519 and paste the contents of the .pub file it makes. In FileZilla, set Logon type to Key file and choose the private key file.

If the key is refused and you use an older program with an RSA key, update the program: we accept only the newer, SHA-2 RSA signatures.

Where to put your files

When you sign in you are already in your site's web root, shown as /site. There is no public_html folder to look for: upload your files straight in. Your home page is index.html or index.php.

File permissions are managed for you, so your site can always read what you upload. Symbolic links cannot be created over SFTP.

Check it before your domain points here

Once your site is set up, its page may show a Preview address ending in srvgb.com. Use it to check your upload before your own domain points at us. Apps that know their own address, such as WordPress, may send you on to your real domain. Search engines are not shown the preview address.

Deploying from Git instead

Your site's page can also connect a public Git repository and copy it to your site every few minutes. While a repository is connected, PHP is switched off for the site, and files you delete from the repository are not deleted from the site. Read the notes on the page before connecting one.

Good to know

  • Each site has one SFTP login, with a password and any SSH keys you add. To have the password reset, ask us.
  • There is no self-service control panel on these plans yet.

Last updated

More on web hosting

Still stuck? Sign in and raise a support ticket, or if you do not have an account yet, get in touch.