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
- Open an SFTP-compatible program.
- Enter server, port, username and password.
- Go to the directory indicated for your domain or web zone.
- Upload the website files.
- 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.