Uploading a Test NodeJS Site to a VPS Server

After installing NodeJS, everything is ready for us to deploy and run the first test site. This is what we will do now.

First, let's go to the websites folder:

terminalcd /var/www

Now let's create the folder for our test site. I named it test.com. But it's better to name this folder the same as your domain name will be. This is not mandatory, but it will help avoid confusion.

So, let's create the folder for the site:

/var/wwwmkdir test.com
Задание 1

Create a folder for the test site.

Задание 2

Upload the test site files there via SFTP (without the node_modules folder).