Questions tagged [node-js]

Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine. It is commonly used for heavy client-server JavaScript applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

I want to host my website ( frontend + backend) build with react js , node js and mySQL [duplicate]

I want to host my website build with react js , node js and mySQL . my question is, can i host react js and mysql database on OVH server (Personal Hosting) and node js on cyclic (the free hosting) ? ...
-1 votes
1 answer
24 views

Alternative to SSL certificate? [closed]

I wanted to make a fun joke website for my friends and I. I'm using 000webhost because I don't care to spend money, as we would use it for a week. The website requires Node and a database. I set it ...
  • 11
1 vote
1 answer
93 views

Apache2 Reverse Proxy only showing default page

I'm completely new to Apache. I have a Django backend that serves as an API and a SvelteKit frontend. Django runs on 0.0.0.0:8000 and SvelteKit on 0.0.0.0:3000. I'm trying to setup Apache so it uses ...
1 vote
0 answers
24 views

How to run a nodejs app over HTTPS?

I have a node.js app that I want to deploy on a VPS. So I ran the app on port 8080, then went to IP_ADDRESS:8080 and the website was there. So the next step was removing that port number because I don'...
1 vote
0 answers
202 views

Fetch doesn't seem to work in Heroku deployed app

This is an issue that im bringing over from the general stackoverflow because I was told it should be asked here instead. The original issue is moreless gone now. The issue now is that when I am ...
  • 11
1 vote
0 answers
62 views

I'm having trouble accessing my Plesk Panel on the remote server after Node.Js installation [closed]

I'm having trouble accessing my Plesk Panel on the remote server. I used Apache Web Server in Plesk Panel. But for an application development I had to use Node.Js. So I searched Plesk official website ...
1 vote
1 answer
69 views

Do you need to set your network profile as Public or Private when creating your own hosting?

I want to create a Nodejs server on my laptop using my ISP. I have a broadband connection and router. I have WSL Ubuntu installed on Windows 10. I don't need to do anything commercially or for ...
  • 149
0 votes
0 answers
40 views

How can I include C#, php, NodeJS, etc. in one website?

I'm wondering how I can include C#, PHP, NodeJS all in one website. Are there servers that provide ways to use all 3, and possibly more (like WordPress)? Maybe I need more than one server, but I'm ...
2 votes
0 answers
86 views

Connecting self hosted node app to domain

I’m new to hosting my websites and thought I’d give a go at hosting my node js app to a domain so I have experience delivering a website. I’m new to this and hit a point I just don’t understand why it’...
0 votes
0 answers
272 views

Moved NS to CloudFlare error NS_BINDING_ABORTED - Headers missing

I’m configuring CloudFlare for the first time. I have a node.js application running on Digital Ocean providing API's. My Front End react app is hosted with Netlify on a different domain and was ...
2 votes
1 answer
66 views

https certificate when you _only_ need backend and don't care about domain name

My application has static front-end content as well as a backend server. I already have an existing mechanism to serve the front-end; I'm running the backend in an AWS EC2 (with Elastic IP). ...
  • 123
2 votes
1 answer
135 views

How to deploy a server side rendering (SSR) react application (bundled by webpack) on windows server 2016 / IIS

just a heads up: This is the first time I try to deploy a react application on a custom built windows server, but I’ve managed to do it successfully on Heroku and Linux (PM2), so I know that the ...
1 vote
1 answer
407 views

Run NodeJS server through SSH without hanging from disconnect

I have a NodeJS server on a virtual machine. I connect to the machine through SSH and leave the server running with: npm start & If I disconnect with Ctl-D, the server keeps running. If my ...
5 votes
1 answer
320 views

How to add node modules to cPanel

I am new to web hosting. I am currently hosting my website on Morse Host. My website has a menu screen that requires node modules. Uploading them from my computer will take a really long time. Is ...
  • 151
0 votes
1 answer
188 views

Should I use Headless CMS or hand coded REST API? [closed]

I'm a full stack MERN developer and I've never used a headless CMS . I've searched everywhere to understand what are pros and cons of using a headless CMS versus implementing my own rest API solution ...
2 votes
1 answer
2k views

Running express server on cPanel

I'm trying to run an express server on cPanel. For this, I'm using the facility of the "Setup Nodejs App" that cPanel provides. But after running my script from cPanel loading doesn't stop and it ...
1 vote
1 answer
31 views

Question on search engine optimization for nodejs website

I just made my first website and I had some questions about how google would index it. For this website, content is only generated once the user interacts with a map seen on the website. I read this ...
  • 13
1 vote
0 answers
137 views

Is there a user and access control library for MERN stack? [closed]

I am currently learning the MERN stack, having previously worked mostly in Django. However, I find myself recoding the same things over and over again manually and not being entirely satisfied with ...
  • 11
3 votes
1 answer
272 views

Does Reverse proxy in IIS effects SEO in any way

I'm creating a website using Angular and have enabled server-side rendering which uses a Node JS server. Our site is deployed on an IIS server. To get content from the Node server we are using a ...
1 vote
1 answer
1k views

NodeJS app is deployed to port 8080

This might be a very simple question but I don't know what to search to solve my problem. Please feel free to direct me to the right resource, that would also be very helpful. This is my first time ...
0 votes
2 answers
1k views

How do I host my web app locally on a subdomain of Google Domains (DNS settings)

I hope I phrased my question right, but I am hosting a web app on my server at home. I have a domain via Google Domains and I don't know how the DNS settings work. I'm running the app on port 8082 ...
1 vote
1 answer
475 views

Google indexing shows 'Soft 404' error on home page for Angular Site

We have a dynamic website built on Angular.js and node.js. The website's home page is not getting indexed on Google and gets a 'soft 404' error. Although the website is working fine and most of the ...
3 votes
0 answers
63 views

Server receiving hit from its own DigitalOcean public IP Address. Why is that and how to resolve this?

I have a MEAN Stack application deployed on a Digital Ocean Droplet and I am using Nginx as proxy server to handle the request and redirect to application's particular port. I wrote a short script in ...
0 votes
1 answer
2k views

Running Node.js from the Front End Web Interface on Plesk Onyx panel

How should we need to run Node.js app especially, from the Web Interface causes Error:403 & 500 Server Error Document Root Application will not work because document root is not a subchild of ...
2 votes
1 answer
20 views

Are 807 NodeJS modules really required to use Font Awesome?

We contracted a web developer to make a really simple 40 page website using PHP+Twig. They sent the site to me in a zip file and when I unzipped it, it took almost 45 minutes to unzip because it had ...
  • 21
2 votes
1 answer
57 views

Some documents load slowly during stress test, how reliable is NameCheap shared hosting?

I have hosted a NodeJS React application into my NameCheap shared hosting account. My Apache Benchmark giving this output while I am trying to stress test my site: ab -n 100 -c 5 -C "somecookie=rawr" ...
1 vote
1 answer
2k views

How to run multiple Node.js sites (apps/servers) with separate SSL cert's, on a single IP address?

The desired scenario is as the title suggests: Multiple Node.js servers/apps/websites, on separate domains, each with own SSL certificate, on a single server with a single IP address. So far I have ...
  • 375
1 vote
0 answers
741 views

Cannot figure out how my nodejs application run with apache

I need to push my node app updates to remote host which is really wired. It uses standard cPanel + apache bundle, but also has node installed. Root domain mywired.host hosts static files from ...
  • 11
0 votes
1 answer
1k views

HTTPS - HTTP communication on the same server

There is a server. On the server is apache. Apache has certificates. On the apache is a website - client, thanks to certificates the client is accessible by https://example.com/~path. The client is ...
1 vote
0 answers
204 views

How can I make my socket.id/nodejs server serve CSS files with the correct mime-type?

I'm using socket.io and https://socket.io/get-started/chat/ to produce a very basic chat server on a remote desktop running Debian. When I access the server's "main" page on port 3000, it fails to ...
  • 11
1 vote
0 answers
14 views

Email Acquisition Pop-up - How to Code? [closed]

For the past year and a half I have been building my own website. I am running everything through html, css, or javascript, but I realize that to accomplish some of my desired goals I need to create ...
2 votes
0 answers
336 views

Effects of replacing prerender.io with inhouse prerendering

I have a website built using MEAN(Mongo Express Angular Nodejs) stack. I was using the prerender.io to render the pages for the bots. The prerender server was running on the AWS EC2, however there ...
  • 21
0 votes
2 answers
57 views

Understanding of complete stack

I am just starting out on the web and trying to understand a complete web stack, where the different pieces of it live and how they interact. I know there are infinite opinions but want to make sure ...
  • 19
1 vote
1 answer
169 views

Nodejs Express - How to point two urls to single html page

I have an HTML page template (player.html) which displays Football players information and information is loaded on to page using a rest API call. When the user select "Ronaldo" from a dropdown, ...
3 votes
0 answers
740 views

Running Nodejs application and wordpress in same server

I am using one EC2 instance of AWS, I have two domains which I will connect with ec2 elastic ip but one domain will have wordpress running on it and other will have nodejs application running on it. ...
  • 153
1 vote
1 answer
82 views

URL stays at root when using my domain, but with ip the URL changes to the paths of the links

I am using GoDaddy to host my domain, but when I use my domain to go to my contact page (or any other page, including outside pages), it stays at http://www.example.com, instead of the correct url e.g....
1 vote
0 answers
102 views

Node.js app without going through an Apache Proxy [closed]

I currently have my server set up to use an Apache proxy all the data from the domain "territory.cf" to my Socket.io Node.JS server. But, this system is very slow and the game I am running can't run ...
2 votes
2 answers
4k views

How do I disable socket.io cookie named io server-side?

I needed to disable the socket.io cookie named io server-side. I follow the path to file creating the cookie to a file located at C:\socket.io\examples\chat\node_modules\socket.io\node_modules\engine....
7 votes
2 answers
20k views

Getting IP address and location of my own server instead of visiting user's

I have a MEAN Stack application deployed on a server and am using Nginx as proxy server to handle the request and redirect to application's particular port. For example: User accesses the URL http://...
2 votes
2 answers
2k views

How to add custom subdomain for each user like john.example.com

I am working on a B2B web application where companies registers to use the application. Say am using www.example.com to access the application. Here is a scenario: Somebody from a company named "...
1 vote
1 answer
1k views

Redirect to an IP while masking the URL

Using a Node.JS web server, I want to have an IIS setup to where the user goes to bot.url.co/dashboard it sends the data to ip:port/dashboard, where IP:port is handled using Node.JS, but the link ...
  • 11
10 votes
1 answer
23k views

Is it possible to have a CNAME DNS record point to a URL with a path?

I've registered several domains for my nieces and nephews, the idea being to create small static webpages for them, so they can say 'look at my website!'. In terms of hosting it, I'm using expressjs ...
2 votes
0 answers
654 views

How do I implement "If-Modified-Since" header on a node server?

My web-application is running on a node server on azure. I need to implement the "If-Modified-Since" header on this server. Could you please guide me how to do this? I tried implementing by setting ...
1 vote
1 answer
126 views

SEO penalty for dynamically generated website that uses multiple domains?

I'm using a single NodeJS/Express server to dynamically generate marketing websites for my company's brand partners. In short, visitor hits one of these sites, I fetch some basic info from the ...
5 votes
1 answer
21k views

The Node Express server is returning "304 Not Modified" responses, but only after querying the database

I'm just diving into web developent, my current passion is Express (Node.js). I've noticed then i often recieve HTTP/1.1 304 Not Modified either for static content and (!) for my json API requests (...
0 votes
1 answer
221 views

Managing (routing between) two separate servers in the same web app

I am building a website, where the landing page and some other content is based on node, express, angular2 etc. I want to have a subdomain (blog.mydomain.com) which runs Hexo. On my development ...
15 votes
2 answers
43k views

Setting X-Forwarded-Proto under Apache 2.4

Ive been advised that I need to set the RequestHeader X-Forwarded-Proto for a node.js application (NodeBB) to resolve an issue with sessions / csrf tokens. Here's the relevant excerpt from my ...
1 vote
1 answer
971 views

Connect timeout from external clients?

I had a MEAN site hosted on DigitalOcean, and now I moved it to an EC2 micro instance. I imported the database, set up PM2, copied all files and everything, and set up Nginx as a reverse proxy. No ...
0 votes
1 answer
15 views

installing npm issue

I was trying to install this : Click here but this error shows up consistently .No matter what i try. I have tried other version of npm they are installed but the npm test error shows up . npm ...
  • 101
4 votes
1 answer
268 views

When I search on my domain name in a browser, the IP address is returned for my site hosted with GoDaddy and NGINX

The IP address of my site is returned when I do domain name search in my browser. I am using: GoDaddy Hosting Nginx Node.js Obviously I would like the domain name and not the IP address, how can ...
user avatar