How To Deploy Node JS Website To Shared Hosting or cPanel

How To Deploy Node JS Website To Shared Hosting or cPanel
this video will show you step by step process of deploying node js website to cpanel with mysql database and configuring database.
You can comment below if you have any questions.
RecyclerView Implementation tutorial
• RecyclerView Implement...
Tab Layout with ViewPager Android tutorial
• Tab Layout Using View ...
Subscribe to channel
/ @learningpointofficial

Пікірлер: 163

  • @LearningPointOfficial
    @LearningPointOfficial2 жыл бұрын

    Hey guys, Thank you very much for the support for this video. Check my New Video about how to deploy react App for free to github pages. kzread.info/dash/bejne/hJZ2k6yLe7XUZ6w.html

  • @Te-rt7bq
    @Te-rt7bq3 жыл бұрын

    Lifesaver ---- I sat thru your video n learnt what needed to after having struggled on how to figure getting my app up.👌🏽 Deeply appreciated.

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    Glad it helped!

  • @johnadriandodge
    @johnadriandodge3 жыл бұрын

    Shalom morning. Thank you for going the extra mile and giving us more important information! I appreciate that!

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    thank you for visiting my channel

  • @marinakharitonova5009
    @marinakharitonova5009 Жыл бұрын

    Thanks for great explanations!

  • @the7amshow109
    @the7amshow1092 жыл бұрын

    Thank you so much, you are a legend!

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    Glad it helped!

  • @PhysicsProtagonist
    @PhysicsProtagonist2 жыл бұрын

    my domain DNS is controlled via cloudflare, so how do I point the cPanel to my CNAME ?

  • @techcheck3042
    @techcheck3042 Жыл бұрын

    Great video. Thank you

  • @SaddamHussain-lf5rg
    @SaddamHussain-lf5rg3 жыл бұрын

    Thanks Buddy you saved me. Thumbs Up

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    Glad I could help

  • @JamesAutoDude
    @JamesAutoDude2 жыл бұрын

    Freaking lifesaver. Thanks!

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    Glad it helped!

  • @lamargtv2572
    @lamargtv25723 жыл бұрын

    Error /home/dgpmallc/nodevenv/nodejsapp/12/bin/npm: fork: Cannot allocate memory I get this error when i run npm install. Can anyone tell me why?

  • @racheal9533
    @racheal95332 жыл бұрын

    how do I deploy react frontend and node js backend to shared hosting / cPanel or through github to shared hosting?

  • @innocentunachukwu1787

    @innocentunachukwu1787

    2 жыл бұрын

    Pa

  • @shokhbari110
    @shokhbari1102 жыл бұрын

    when i deploy in the cPanel 1st time data can not getting showing.. what i have to do can u say?

  • @Casquillo8520
    @Casquillo85203 жыл бұрын

    Hi, i have a website already hosted in the public_html and my app.js running. But how they do connect with each other?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    node js does not require website to be placed inside public_html you can place it outside on root folder. easiest way is to upload whole node js app inside root directory.

  • @md.fakweruddinmazumder9063
    @md.fakweruddinmazumder90633 жыл бұрын

    Thank you ❤️

  • @ErickReplayLAN
    @ErickReplayLAN3 жыл бұрын

    what is the nodejs lastest version supported by Cloudlinux?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    in think its 11.something

  • @jeanbulatao4900
    @jeanbulatao49003 жыл бұрын

    hello, i coudnt find the set up node js application in my cpanel... how can i make it show?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    probably your hosting provider does not support it. you can search if it is available or contact your hosting provider

  • @applesolution7471
    @applesolution7471 Жыл бұрын

    which hosting support node js apps in cpanel

  • @bharatvaz
    @bharatvaz2 жыл бұрын

    Awesome, thankyou brother...

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    My pleasure

  • @gokunik
    @gokunik3 жыл бұрын

    Which shared hosting it is and what different shared hosting provider support this as i have looking in the web that not all are supported and it depends on hosting provider. Please anyone let me know

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    i am using namecheep shared hosting , bluehost does not support this unless you purchase dedicated hosting . so you need to look if your hosting provider supports Node Js application

  • @vigneshdev5762
    @vigneshdev57622 жыл бұрын

    will bluegeek server supports php=-mongodb connection?

  • @fh2322
    @fh2322 Жыл бұрын

    Which web hosting did you use for brother?

  • @atanujana8119
    @atanujana81193 жыл бұрын

    npm WARN lifecycle The node binary used for scripts is /home/bestvdgd/nodevenv/nodejsapp/10/bin/node but npm is using /opt/alt/alt-nodejs10/root/usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. ===== i got this error , pls help me to resolve it

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    stackoverflow.com/questions/51293566/how-to-include-the-path-for-the-node-binary-npm-was-executed-with

  • @kaziovesh9798
    @kaziovesh9798 Жыл бұрын

    Hi, I buy hostinger vps server and setup my cPanle through whm, install all dependancy and nodejs 16 but I can't find setup nodejs application button in my cPanle, how can I enable that

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    I guess you gotta change your plan then, its not included probably in your current plan.

  • @personperson259
    @personperson2592 жыл бұрын

    hi i keep getting this error "cant aquire .lock for app" whn trying to restart or stop the app, the "run script > start" goes indefinitely and the itself gives this error Error: secret option required for sessions when opened (yes i tried to access it even with the above errors) even whent he secret is fed into the .env file, it works on another hosting by the same company

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    contact hosting provider, they'll stop

  • @anurajms
    @anurajms Жыл бұрын

    thank you

  • @kamalsharma2839
    @kamalsharma2839 Жыл бұрын

    How to do it in Hostinger on shared hosting plan with it's hpanel?

  • @zulqadaridrishi457
    @zulqadaridrishi457 Жыл бұрын

    Can we get this project on git?

  • @psyberinc3772
    @psyberinc3772 Жыл бұрын

    Thank you very much

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    You are welcome

  • @pambicoin
    @pambicoin Жыл бұрын

    with cron?

  • @melanieorellana7552
    @melanieorellana75523 жыл бұрын

    Thanks for the video. I had a lot of doubts about this. In your code what is the port the node js app is using?

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    it automatically picks port but you can specify incase environment does not have it. so i was using 3000

  • @cecironalejoiii4151

    @cecironalejoiii4151

    2 жыл бұрын

    @@LearningPointOfficial How to know what port it is using?

  • @keremburax

    @keremburax

    2 жыл бұрын

    hi..did you solve your port problem? I use 5000 as a port number in my local PC. When I deploy my website via cPanel, what / how should I set for my port number?

  • @adnanshaikh3624
    @adnanshaikh36242 жыл бұрын

    i see in one of the hostinger article saying, "Node.js is not supported on Shared and Cloud hosting packages."? Why?

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    you might have to buy vps plan or some other plan to have that feature.

  • @programmingwithnit5308
    @programmingwithnit5308 Жыл бұрын

    Thank you so much

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    Any time

  • @Aben7331
    @Aben73319 ай бұрын

    Thank u

  • @mixaws
    @mixaws2 жыл бұрын

    Is possible to install umami.is analytics in cpanel node.js

  • @georgesmayrink2305
    @georgesmayrink23053 жыл бұрын

    The title said “Deploy Node.js” and in a 15min video, 9min were used describing how to create a MySQL database. That makes no sense but... Anyway, thanks for the video. The last 6min had some good information. 👍🏻

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    apologies, but most videos that are available actually do not tell anything about creating database and linking it so that step was crucial for deployment that's why it was stressed the most . Thanks

  • @Christianjr
    @Christianjr3 жыл бұрын

    Great video♥️

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    Thank you!!

  • @bilawalbinkhalid7247
    @bilawalbinkhalid72473 жыл бұрын

    very nice and helpful video. In my case when i run website and some error in code occur it show me 503 error. How can i find the error in cpanel to fix it ?? Thanks

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    look for log file inside you cpanel file manager folder. that log file contains all the errors information. but generally this error means 503 Service Unavailable server error response code indicates that the server is not ready to handle the request.

  • @mamedulislam2629
    @mamedulislam2629 Жыл бұрын

    Thanks 👍

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    Thank you too

  • @moundziegougabin813
    @moundziegougabin8133 жыл бұрын

    Thank for the tuto, But I've a issue when a want to to a another route of my app (error : Internal server)

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    there is an error with your database connection or something like that which make your app crash.

  • @moundziegougabin813

    @moundziegougabin813

    3 жыл бұрын

    @@LearningPointOfficial i use express , "exemple.com" work ok but when i want access to "exemple.com/hello-world", the server return "internal server 500"

  • @dw1develoweb593
    @dw1develoweb5932 жыл бұрын

    hi, how can i run puppeteer?

  • @stillready6405
    @stillready6405 Жыл бұрын

    Did you use NodeJS Express server for your application??

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    yep

  • @neerajsinghtangariya2587
    @neerajsinghtangariya25873 жыл бұрын

    Hello sir, Can you tell us, Can I deployed the Strapi on cPanel?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    sorry i read it late, if you are still facing any issue let me know i'll make a video on that

  • @neerajsinghtangariya2587

    @neerajsinghtangariya2587

    3 жыл бұрын

    @@LearningPointOfficial yes can you make a video on installing gatsby, strapi OR node Js on cpanel ?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    @@neerajsinghtangariya2587 sure, i'll make one shortly

  • @emyboybeats4330
    @emyboybeats43303 жыл бұрын

    what will be the startup file for a React App?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    please check this : medium.com/@aforamitrai/how-to-deploy-react-app-on-shared-hosting-cpanel-d682b0342424

  • @dev-c6905
    @dev-c69052 жыл бұрын

    Nodemailer does not working after deploying on Cpanel shared hosting!! How to solve it??

  • @arigbedeabiodun

    @arigbedeabiodun

    2 жыл бұрын

    i am currently having the issue, please how do you solve it?

  • @snjosyula
    @snjosyula2 жыл бұрын

    Very nice. I am using like this in my local app.listen(3001, () =>{ console.log("Node running"); }) After deployment what should I write here

  • @david.r722

    @david.r722

    2 жыл бұрын

    instead of that is a better option something like this -> app.set('port', process.env.PORT || 4000), after this - > app.listen(app.get('port'), () => { console.log('Server on Port', app.get('port')) }). 'cuz if the hosting provide you a port, node will running in that port if not running in 4000 or whatever you want

  • @srikanthambaldhage2268
    @srikanthambaldhage2268 Жыл бұрын

    Please mention which Hosting site is providing Nodejs setup

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    namecheap

  • @tejasphirke2246
    @tejasphirke2246 Жыл бұрын

    Sir setup nodejs is not showing up

  • @mohmadhaidardevjiyani68
    @mohmadhaidardevjiyani683 жыл бұрын

    Great video But sir I got one error of 403 Forbidden Access Denied Error. Is there any error in .htaccess file? Please help me with this Thankyou

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    yes it could be solved by modifying htaccess file

  • @yaredterefe1508
    @yaredterefe15082 жыл бұрын

    awesome video, but u don't have to run the js scripts. it runs infinitely so I stopped the running app and got into a mess with a lock and stuff. thank god stack overflow

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    yup, you gotta contact hosting provider to stop it.

  • @SarowerJahan
    @SarowerJahan3 жыл бұрын

    Thanks

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    Welcome

  • @mohitsharma-pt2jd
    @mohitsharma-pt2jd2 жыл бұрын

    what the port for app.js my server is not running in cpanel please rply

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    it picks automatically from the process or if it does not find it, it runs on port specified

  • @detanatorxxx52
    @detanatorxxx522 жыл бұрын

    Tnx man

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    Welcome

  • @Aarmaxian
    @Aarmaxian2 жыл бұрын

    I followed your video but I do not have the 'Set up node app' option in my cpanel. Can you please help?

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    check with your hosting provider.

  • @srikanthambaldhage2268

    @srikanthambaldhage2268

    Жыл бұрын

    @@LearningPointOfficial Can you please tell Which Hosting provider you showed here.

  • @legend3755
    @legend37553 жыл бұрын

    sir...after i click on run script...that running scripts loading section keeps on loading indefinitely....What to do ?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    you need to ask your hosting provider to stop it. or create new app and deploy there

  • @kumarsiddharth6275

    @kumarsiddharth6275

    3 жыл бұрын

    @@LearningPointOfficial sir I created new apps and deleted previous ones many times but the same problem exists ?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    @@kumarsiddharth6275 deleting is not an option here , instance still remains running in the background. you have to contact hosting provider to manually stop it. that's the only solution i think.

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    @@kumarsiddharth6275 if you create new app in that case you need to change directory in file manager. i mean you need to create another copy of source code with different folder name because the other directory is already locked because of execution

  • @kumarsiddharth6275

    @kumarsiddharth6275

    3 жыл бұрын

    @@LearningPointOfficial thanks sir for your reply...I will contact you again after trying this

  • @mmsgaminglive
    @mmsgaminglive2 жыл бұрын

    Hello! Bro there is no option [ NODE ] in cPanel. Please Help

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    you need to switch your hosting plan. probably you need vps plan but namecheep basic plan offer it, which i am using.

  • @hourz
    @hourz2 жыл бұрын

    How do you link the css file I can't get it to work.

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    use reletive linking.

  • @hourz

    @hourz

    2 жыл бұрын

    @@LearningPointOfficial Thanks I'll look into that,

  • @sauravnikam6576
    @sauravnikam65762 жыл бұрын

    sir i l have tried it but it shows 503 service unavailable🥺

  • @VivaCode

    @VivaCode

    2 жыл бұрын

    yes is the same problem

  • @mykolasraudzius3997
    @mykolasraudzius39972 жыл бұрын

    I love you

  • @AhsanAli-we8ph
    @AhsanAli-we8ph3 жыл бұрын

    On my cPanel, I don't have any nodeJS option

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    probably your hosting provider does not support it. you can search if it is available or contact your hosting provider

  • @UsmanTheDev
    @UsmanTheDev3 жыл бұрын

    Can we use mongodb instead of mysql?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    MongoDB is not installable on shared hosting. You will need to be on a VPS or Dedicated hosting plan to install it on your server.

  • @ozgucdalga9708

    @ozgucdalga9708

    2 жыл бұрын

    @@LearningPointOfficial I have nodeJs website with MongoDB, How can I deploy it with my current hosting?

  • @rehthro
    @rehthro3 жыл бұрын

    Any hint on where to find the active app logs?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    check at file manager root

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    check this thread forums.cpanel.net/threads/access-logs-file-manager-logs-etc.188001/

  • @SiciidQaran
    @SiciidQaran Жыл бұрын

    Why you dont respond the guys who asking you, which web hosting you are using?

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    namecheap

  • @elhamuddin.mahmoodi
    @elhamuddin.mahmoodi3 жыл бұрын

    In my cpanel (setup nodejs app) is not there why?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    you need to change your hosting plan, or even switch hosting provider. blue host shared hosting plan does not have this. you have to switch to vps hosting plan to get this. that might be the case with your hosting provider

  • @yusufnadaroglu4108

    @yusufnadaroglu4108

    2 жыл бұрын

    dude did you solve that?

  • @elhamuddin.mahmoodi

    @elhamuddin.mahmoodi

    2 жыл бұрын

    @@yusufnadaroglu4108 No bro I did not try, but as he said you must upgrade your hosting plan

  • @DiscoverDazzling
    @DiscoverDazzling3 жыл бұрын

    bro ma godaddy ka cpanel use krta ho us ma yeh option nahi ha, ap konce hosting use kr rhy ho

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    namecheep, bluehost dono men hai . i don't know about godaddy. but it should be there

  • @vikrantavishwakarma3281
    @vikrantavishwakarma32813 жыл бұрын

    how can we deploy next.js project on cpanel.

  • @wisdomcoder

    @wisdomcoder

    3 жыл бұрын

    Well, SSH comes handy for complex apps. You can deploy next.js too. A proper MERN stack can be deployed on the cpanel

  • @vikrantavishwakarma3281

    @vikrantavishwakarma3281

    3 жыл бұрын

    @@wisdomcoder I just want to deploy next.js not MERN

  • @samakinzo6391

    @samakinzo6391

    3 жыл бұрын

    @@vikrantavishwakarma3281 build your project and upload it to cpanel Is front end projects not server-side no need steps like a NodeJs app

  • @willianrojasalba5050
    @willianrojasalba50503 жыл бұрын

    which is the hosting provider

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    namecheep

  • @anshultiwari2704
    @anshultiwari27043 жыл бұрын

    Which hosting provider are you using?

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    name cheep

  • @srikanthambaldhage2268

    @srikanthambaldhage2268

    Жыл бұрын

    @@LearningPointOfficial Is it Shared Hosting plan or VPS Plan?

  • @AshutoshKumar-kt1dd
    @AshutoshKumar-kt1dd2 жыл бұрын

    I can't find "Setup Nodejs App" in my CPanel

  • @Moreynium

    @Moreynium

    2 жыл бұрын

    did you found any solution ?

  • @AshutoshKumar-kt1dd

    @AshutoshKumar-kt1dd

    2 жыл бұрын

    @@Moreynium according to my understanding in order to enable that option I will have to shell out more money, basically I will be required to purchase ssl certificate then only that option will become visible. Please let me know if you think otherwise.

  • @arjunraghunadhan3611
    @arjunraghunadhan36113 жыл бұрын

    Which service it is

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    Node js deployment on bluehost cpanel

  • @gireeshkottayam9972
    @gireeshkottayam9972 Жыл бұрын

    how to find NodeJS HTTP Port

  • @LearningPointOfficial

    @LearningPointOfficial

    11 ай бұрын

    This will give you port set in env file, on production : process.env.PORT

  • @summoner2100
    @summoner21002 жыл бұрын

    There's not much point clicking the "setup nodejs app" when it states in there it's exclusive for Namecheap customers. #fail

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    no. it works same on other hosting systems.

  • @codecombination9337
    @codecombination93372 жыл бұрын

    Hello, There is no "Setup node js button" on cpanel how do I enable it?

  • @Moreynium

    @Moreynium

    2 жыл бұрын

    what solution you have found on this?

  • @codecombination9337

    @codecombination9337

    2 жыл бұрын

    @@Moreynium we contacted supported they suggested we should have dedicated hosting for that. We switched to heroku.

  • @promods0
    @promods02 жыл бұрын

    Sir I need help

  • @LearningPointOfficial

    @LearningPointOfficial

    2 жыл бұрын

    yes ?

  • @promods0

    @promods0

    2 жыл бұрын

    @@LearningPointOfficial I installed this but if I use any .js file it's showing codes not working!

  • @quepasohoyofficial
    @quepasohoyofficial3 жыл бұрын

    Hello bro, when i try to deploy node.js app with puppeteer module, Don't work :(

  • @LearningPointOfficial

    @LearningPointOfficial

    3 жыл бұрын

    yes that's true. i had the same issue once : this can help : www.digitalocean.com/community/questions/problem-with-puppeteer-npm-node-js

  • @benzflynn
    @benzflynn Жыл бұрын

    This video takes too much time going into details of database installation, user config, sub-domain creation, etc. There is no discussion or configuration for how Apache will handle Node.js requests - this is the hardest thing with Node on cPanel and you've just avoided it all.

  • @mohammedaljahwari1165
    @mohammedaljahwari11652 жыл бұрын

    هذا كهربائي

  • @Anas_Alaqeel
    @Anas_Alaqeel2 жыл бұрын

    bruh

  • @kamalsharma2839
    @kamalsharma2839 Жыл бұрын

    Absurd or too bad explanation

  • @yudiofficial5113
    @yudiofficial51132 жыл бұрын

    Useless

  • @lamargtv2572
    @lamargtv25723 жыл бұрын

    Hi, can I have your email? I want to ask about hosting node js and install express in my hosting. I have an error, plsss 🙏🏻

  • @aabirraghib8826
    @aabirraghib8826 Жыл бұрын

    i hwe a query to ask,hw do i contact u

  • @noorpak5789
    @noorpak57894 ай бұрын

    bahi apka whtsapp mel sakta koc help chaye ti kox sawal hau delpoyement k realted jazaAllah