Start by going to the folder containing the files to upload.
Supposing the file is in the “pages” sub-folder of the “website” folder:
cd /website/pages
You need to connect to your server using SFTP to upload your files:
sftp root@(your server IP)
Enter your password to open a connection to your server.
Use the “put” command to load files to your server, specifying the directory in which the files must go:
put example.html /var/www
The file called “example.html” will have been loaded to the /var/www directory on your server.
put *.* /var/www