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:
cd /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:
mkdir test.com
Create a folder for the test site.
Upload the test site files there
via SFTP (without the node_modules folder).