You need to create a site with a Node.js handler, to do this:
- In the Main menu select Sites.
- On the form that opens, click on Create website.
- Select the Extended settings tab and fill in the required fields. Below are the important fields when creating a site with a Node.js project:
- Main settings section:
- Domain name – the domain name;
- Website directory– the path to the website directory that is relative to the owner's home directory;
- Website aliases – additional names of your site (optional field);
- Handler – select Node.js;
- SSL certificate – select an SSL certificate that will be used for this website. You can specify the existing certificate or create a new self-signed certificate;
- Handler section (Node.js):
- Node.js version – select the required Node.js version;
- Connection method:
- Port – free unprivileged port will be assigned to the website;
- Socket file – the website will work via a socket.
Click on Create.
No comments yet. Login to start a new discussion Start a new discussion