18:0318:11 if you got an error that says “we sorry, but something went wrong” or “503 service unavailable “ make sure the cpanel node js version is the same as your development version, if not then uninstall nodejs and reinstall the right version, delete backend node_module or create a new project, then install trust me ive been trying for days that doing the above worked
Hello, thank you for the very informative tutorial. Do I have to create a sub domain for every "server" folder? What if I don't want/need users to access the "server" url? How would I go about that? Can the nodeJS app files reside in the public_html folder of the root folder along with the files for the client/front end?
Thanks for the video, it really helps Please could you tell me where did you buy the domain and the host? The company name like Godaddy, etc!!, And what did you did for the api url's inside the react app in the frontend?
Thanks a lot i am having an issue I deployed a full Stack application for my app but I have the frontend and backend working locally easy but for namecheap. I a url for the forntend and the subdomain for the backend. did you use the backend url somehow on the frontend ?
Can I make the crud operation in shared hosting in cheapname C panel with Pg db along with react+express+node app. Whose hosting is better namecheap or BlueHost?
Please, I have a MERN app that I'm trying to deploy on cPanel but it's not connected to MONGODB. I would like to know how should I make the configuration in other to connect cPanel to a third party server. Thank you for your help
Please, I have a MERN app that I'm trying to deploy on cPanel but it's not connected to MONGODB. I would like to know how should I make the configuration in other to connect cPanel to a third party server. Thank you for your help
All you need is to change your mongoDb local connection url to your remote connection url. That's all. Within your remote mongo dashboard, ensure you configure it to allow connection from your cpanel IP address
@TechFortified, I created an event log file to track all activities i noticed that it has issues connecting to mongoDB , despite the IP is open on MongoDB. any idea on resolving this ?
Try to let the mongoDb allow connection from anywhere by passing asterisk (*) as the value under mongo. Also if you're using cpanel, I will advise you to make use of postgresql or mysql. Just look for an ORM like sequelize instead of mongo which is costly to me.
@@codesermon Not this one, this .htaccess is React UI part which is you created. I'm asking Nodejs .htaccess - Cpanel is generated while you creating Nodejs App. Please send that generated .htaccess
@@codesermon My Host is not supporting Nodejs in Cpanel. But I have installed Nodejs in SSH. So that's why I'm asking your generated .htaccess - My Friend :) $ node app.js Server running at 0.0.0.0:40000
Thanks bro for this effort, are you going to provide the link to the code like you mentioned below in the comments? It is difficult to forward your videos to my colleagues without the code. I have subscribed to your channel and looking forward to more material.
Thank you very much for your efforts. This video would be very helpful for freshers. I have a query about what process should be taken for the .env file in the client folder? Please write somethig about it.
I have a problem. When I run the app show the message: We're sorry, but something went wrong. The issue has been logged for investigation. Please try again later. I dont understand, help me.
Ensure your hosting package is active and your domain is working. Create subdomains and try again following the same process. You normally see that error when you create a Nodejs server and you don't stop the server before deleting a file under the file manager.
@@codesermon In the website, under server features Node JS is listed there, but in Database features MongoDB is not listed, how to create a MongoDB connection URI in this Namecheap shared hosting ?
@@gopinathkrm58 go to mongodb docs for Nodejs... You can easily connect your mongodb atlas... Everything should work.... Cpanel is only used for hosting...
@@codesermon My doubt is in order to use MongoDB in production, i need to get the connection URI in mongoDB site only or I can create in any hosting provider ? I am new to this so having this doubt. Is it possible to get Mongo URL from hosting provider itself ?
Its ok in localhost.. I write same code as you wrote. Everything working fine on localhost.. When you install npm and checking sever working or not. Your write Route path and fetching all post..bt when im doing this..my server showing "503 service unavailable "...
I did everything right, wanted to host my back- end but I received: node:internal/deps/undici/undici:7806 return await WebAssembly.instantiate(mod, { ^ RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance at lazyllhttp (node:internal/deps/undici/undici:7806:32)
that was the most complete tutorial on this subject! I wish I'd seen this a week ago when I was struggling to deploy my app ! thank you bother
Glad it helped!
me too...he literally saved me...good work
18:03 18:11 if you got an error that says “we sorry, but something went wrong” or “503 service unavailable “ make sure the cpanel node js version is the same as your development version, if not then uninstall nodejs and reinstall the right version, delete backend node_module or create a new project, then install trust me ive been trying for days that doing the above worked
i think that is the problem am having, 503 error
My development version was v20.12.2 but it is not part of the options..
What do I do??
Plz help
Well done. Thanks for sharing your knowledge with us
Glad it was helpful!
Best explantion I found on how to go about this. Great job.
Please continue your good work bro.. this video is very clear to new developer
Thank you so much 🙂
Guy you are a child of GOD, thanks for this value. GOD BLESS YOU REALLY GOOD IN JESUS NAME AMEN
Hello, thank you for the very informative tutorial. Do I have to create a sub domain for every "server" folder? What if I don't want/need users to access the "server" url? How would I go about that? Can the nodeJS app files reside in the public_html folder of the root folder along with the files for the client/front end?
Please if you write FastApi can you make a video on how to host it on cpanel if it possible.
Thanks for the video, it really helps
Please could you tell me where did you buy the domain and the host?
The company name like Godaddy, etc!!,
And what did you did for the api url's inside the react app in the frontend?
namecheap
Thanks @@codesermon
Awesome
I love ur approach
Thanks you man.. Do me a favour and subscribe :)
Thanks a lot
i am having an issue
I deployed a full Stack application for my app but
I have the frontend and backend working locally easy
but for namecheap.
I a url for the forntend
and the subdomain for the backend.
did you use the backend url somehow on the frontend ?
Here's the full video ruclips.net/video/ZO-DPIhZ2Fo/видео.htmlsi=EOFgeN_m0tE7Pzmg
Hi brother , just a question , in the backend u used Mysql or Mongo for the database ?
Nope... I didn't use any but stored it in memory. Use any dB of your choice
@@codesermon thank you G 🙏
Thank you sir
Detailed and very helpful
Hello sir, i wanna know how the react app known the url to the api because i don't see you changing it before the build!
See full video here ruclips.net/video/ZO-DPIhZ2Fo/видео.html
@@codesermon Ok thanks! I get it
Can I make the crud operation in shared hosting in cheapname C panel with Pg db along with react+express+node app.
Whose hosting is better namecheap or BlueHost?
Use anyone that satisfies your need.
@@codesermon sure sir ! But what about crud operations ?
hi. i tried a few times. When I click node start an error comes up. can you help me?
glad it was resolved
Hi Man! On my cpanel don't show the option for install node! What can i do??? Thanks
Contact your hosting company's support for upgrade
@@codesermon Thanks
Thank you for the tutorial sir. It was really helpful. Thanks again
Please, I have a MERN app that I'm trying to deploy on cPanel but it's not connected to MONGODB. I would like to know how should I make the configuration in other to connect cPanel to a third party server.
Thank you for your help
Thank you for the tutorial, success!!!
Hello. My db url is just reloading and reloading without showing any data. Please help.
Hmm check your well because there could be a bug
You saved my day
Please, I have a MERN app that I'm trying to deploy on cPanel but it's not connected to MONGODB. I would like to know how should I make the configuration in other to connect cPanel to a third party server.
Thank you for your help
All you need is to change your mongoDb local connection url to your remote connection url. That's all.
Within your remote mongo dashboard, ensure you configure it to allow connection from your cpanel IP address
I have a "proxy": "local network:port number" at the end of the package.json file, do I need to remove that before building?
Remove proxy as it doesn't work in production. Watch this my video ruclips.net/video/QZTOhHZY_LM/видео.html
@@codesermon Thank You Sir
Hello what is your hosting provider that has nodejs installed? Thanks for the video
Namecheap
@TechFortified, I created an event log file to track all activities i noticed that it has issues connecting to mongoDB , despite the IP is open on MongoDB. any idea on resolving this ?
Try to let the mongoDb allow connection from anywhere by passing asterisk (*) as the value under mongo.
Also if you're using cpanel, I will advise you to make use of postgresql or mysql. Just look for an ORM like sequelize instead of mongo which is costly to me.
Hello, i coudnt find the set up node js application in my cpanel... how can i make it show?
Maybe your hosting package doesn't support it. Contact your hosting support
I am having a problem, can you help?
Can you please show me .htaccess in nodejs server.
My side is not working please help me
drive.google.com/file/d/1QqnEBHiL9zmVbpdpbYZ77lC8VGQpQBsb/view
@@codesermon Not this one, this .htaccess is React UI part which is you created.
I'm asking Nodejs .htaccess - Cpanel is generated while you creating Nodejs App.
Please send that generated .htaccess
@@MikdanJey Just create new node app and it will generate it for you automatically on your cpanel
@@codesermon My Host is not supporting Nodejs in Cpanel. But I have installed Nodejs in SSH. So that's why I'm asking your generated .htaccess - My Friend :)
$ node app.js
Server running at 0.0.0.0:40000
brother.. can you please host this same app in cpanel with live integration. (CI/CD)
haven't tried it. Maybe i will check it out
can u put video on deploting springboot rest api in cpanel
Thanks bro for this effort, are you going to provide the link to the code like you mentioned below in the comments? It is difficult to forward your videos to my colleagues without the code. I have subscribed to your channel and looking forward to more material.
I will definitely provide it in the description for you.
Well explained. Thanks
Glad you found it helpful
Thank you very much for your efforts. This video would be very helpful for freshers. I have a query about what process should be taken for the .env file in the client folder? Please write somethig about it.
if it's not secret then you can publish it together since it's on client side
quite helpful! thanks for the video
You're welcome!
Hello Sir I am getting an issue while deployment. Can you help me??
What's the error?
Thanks a lot❤
You're welcome 😊
sir how to fix incomplete response recived from application
was the error in dev mode? Please check your code and follow the video diligently
@@codesermon thank you sir.. i shifted to mysql for database and everything solved.. :)
amazing
Thank you! Cheers!
I have a problem. When I run the app show the message: We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later. I dont understand, help me.
Ensure your hosting package is active and your domain is working.
Create subdomains and try again following the same process.
You normally see that error when you create a Nodejs server and you don't stop the server before deleting a file under the file manager.
Nice video bro
Thanks for the visit
Node.js is not available in my CPANEL "applications."
Contact your host support
Thank You Brother🥰🥰🥰
Welcome. Do me a favour and hit the subscribe button.
where do I get those configurations for htcaccess
drive.google.com/file/d/1QqnEBHiL9zmVbpdpbYZ77lC8VGQpQBsb/view?usp=sharing
May I ask your hosting platform
Namecheap shared hosting
How do I use type: module in server api? thanks
In package.json file, you can research on that.
Does it support MongoDB ?
Yes
@@codesermon In the website, under server features Node JS is listed there, but in Database features MongoDB is not listed, how to create a MongoDB connection URI in this Namecheap shared hosting ?
@@gopinathkrm58 go to mongodb docs for Nodejs... You can easily connect your mongodb atlas... Everything should work.... Cpanel is only used for hosting...
@@codesermon My doubt is in order to use MongoDB in production, i need to get the connection URI in mongoDB site only or I can create in any hosting provider ? I am new to this so having this doubt. Is it possible to get Mongo URL from hosting provider itself ?
@@gopinathkrm58 yes to to mongo dB website and get the connection Uri father you setup your account and create a database
This site can’t be reached....
How can I get access the code use in this video pls ?
Or is there any video
I will push it to GitHub and notify you later under this comment. Please, just ensure you subscribe to my channel. I got you covered
there is no dabatabase?
I will make a new video using the cpanel's databases either mysql or postgresql soon. Just subscribe and wait.. :(
Please create a video on ci/cd for react and epress.js
Alright, no problem.
Sir this hosting name is?
Namecheap
Can you point me to the solution?
Have you watched part 3 of this tutorial? ruclips.net/video/OXTPJqTihhQ/видео.html
You can as well check my cors tutorial ruclips.net/video/QZTOhHZY_LM/видео.html
coffee will be delivered asap
not working server
What's the error?
@@codesermon its showing nothing.. Frontend working bt backend not working
Your backend is supposed to be linked to your frontend. What error do you receive?
Its ok in localhost.. I write same code as you wrote. Everything working fine on localhost..
When you install npm and checking sever working or not. Your write Route path and fetching all post..bt when im doing this..my server showing "503 service unavailable "...
Ensure your local Nodejs version is the same with the remote version
weee
I did everything right, wanted to host my back- end but I received:
node:internal/deps/undici/undici:7806
return await WebAssembly.instantiate(mod, {
^
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
at lazyllhttp (node:internal/deps/undici/undici:7806:32)
this might be due to node version mismatch. Ensure your dev node version is the small the remote server version
@codesermon I downgrade my version to 20.10 for this deployment:( checking node -v, it is showing 20.10 as recommended in cPanel
@@innovateignite-753 use another version... Node v 20 always have that issue
brother need your help it says it works but not showing https and apis also don't work
After changing app.js to index.js im still getting "it works". Can you help me?
Stop the node app and restart