I have bought hosting24 but I am not seeing any option for setting up node js option over there. Can anybody please guide me so that I can run my node js application over there...
Thanks
You have to use VPS hosting available in their website. Then you just can guide something similar to this host NodeJS in VPS
https://www.hosting24.com/vps-hosting
Related
so here is the thing, I have created a react app with server side rendering (with babel and webpack and an express server). I was able to run it locally. So far So good.
Now I want to publish it on the web, and I am clueless about how to do that, there isn't much documentation about that and I wasn't able to get an answer so far.
Any help would be appreciated.
Thank you in advance.
If It's an hobby project you can do that with Heroku. It's free. Else you can buy a Heroku premium or Digital ocean or AWS EC2 server
I have an node js express app for service module and angular app for web, which is deployed in the windows 10 iis server at the domains
"http://localhost:8011" and "http://localhost:8012"
If i test the site in my browser like
"http://localhost:8011" and "http://localhost:8012"
or
"http://{port number}:8011" and "http://{port number}:8012" it's working
but if same thing i open in others computer the angular application is working without any issue.
but the node js is not working
it's giving the error like
This site can’t be reached
{port number} took too long to respond.
Can any one suggest me what is the error and how to resolve this issue.
Thanks in advance.
It is not very clear from the question but from what I understand you are trying to serve a node express app through IIS?
If this is the case, you should look at the iisnode package which is really helpful. You will also need to install the IIS rewrite-rule module if this is not already installed.
If this is indeed what you are looking for let my know, and I will edit me answer to include more details.
I am fairly new to NodeJS, here is the problem statement:
I have a small app (let's consider default app) of ReactJS. I installed NodeJs on my Ubuntu Server. Now when I hit mydomain.com in a browser I want my ReactJS app to show there. I know I need to do some configuration but somehow not able to find what's the right way of doing it. I have nothing installed on my Ubuntu server except NodeJS and npm.
Any suggestion will help me.
Thanks
For pure Node.js solution, tou can use static files (HTML/JS/CSS) HTTP server like following
https://github.com/cloudhead/node-static
https://github.com/indexzero/http-server
I've used http-server which is super simple and can be installed as a CLI tool as well
I created chatting application in nodejs and want to run nodejs server on cpanel linux based hosting. Someone please guide me, or give me step wise instructions to run it.
I don't think it's possible with shared hosting. Unless they explicitly mention they support it.
I have a Mean stack node.js application and amazons remote desktop machine. I need to deploy my node.js application to amozon.
I have uploaded my files to wwwRoot folder. It contains a default index.html page.
After uploading files also, i got that same index.html display in browser.
Please let me know how i can deploy and run my node.js application.
Thanks in Advance
I highly suggest you follow a guide or tutorial to get yourself set up with a node.js web server. From your question is seems to me that you're missing some key points on how a node.js web server functions and there's really not a single answer to your question. I recommend you read up on the following tutorial:
https://blog.risingstack.com/your-first-node-js-http-server/
Good luck!