Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a remote dedicated Centos machine that uses cPanel and WHM. I know how to use ssh also.

I just want to know how I can map my domain to node. I need to know where I put my server.js file, etc.

My hosting structure is setup like this:

/home/mydomain/public_html/

The mydomain directory has these folders:

./  .bash_history  .bashrc  .cpanel/    .emacs    logs/   .nvm/     public_html/ 
../  .bash_logout   .contactemail  cpanel3-skel/  etc/    mail/      perl5/       tmp/
access-logs@  .bash_profile  .cpaddons/   .dns  .htpasswds/  .mozilla/  public_ftp/  www@

Now I tried this tutorial https://gist.github.com/stagas/754303

But when I go to my IP address I get a page with the following:

Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at 111.111.111.111 Port 80

Is there a guide or video on actually accomplishing mapping my domain to a node server?

share|improve this question
    
Try this tutorial: digitalocean.com/community/articles/… –  slm Feb 23 at 16:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.