primari.net

Basket
How to upload a website using SFTP

Web hosting

How to upload a website using SFTP

To publish a website by SFTP, use the correct server, username, password and port, then upload the files to the directory for the web zone.

Reviewed:

What you are doing

SFTP sends files from your computer to the server where the website lives.

It does not change DNS or register the domain. It only manages files for the Web hosting service.

Details you need

In the PRIMARI.NET panel, inside Web hosting, you can see the access details. Normally you need:

  • SFTP server, usually sftp.primari.net;
  • port 22;
  • username;
  • password;
  • directory where the website must be published.

General steps

  1. Open an SFTP-compatible program.
  2. Enter server, port, username and password.
  3. Go to the directory indicated for your domain or web zone.
  4. Upload the website files.
  5. Open the domain in a browser and check the result.

The first file is usually called index.html, index.php or similar.

Common mistakes

If you can connect but cannot see the website, the files may be in the wrong directory. If you cannot connect, check the port, username, password and that you are using SFTP, not old FTP.

When to ask for help

Contact PRIMARI.NET if you do not know which directory to use, if you want to migrate an existing website or if the application also needs MySQL.

C/Amposta 14-18, 08174 Sant Cugat, Barcelona, SPAIN. T:+34 93 583 11 12 Legal notice | Privacy Policy | Terms of Service