How to run socket.io server on cpanel shared hosting even on subfolder ?

Let's we will host a socket.io + express server on cpanel's shared hosting. For this example I will host the server on mydomain.com/test22, so the folder is test22.
First of all setup the node...