Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
1 vote
1 answer
36 views

Can I install and use an 'npm package' such as ChartJS/OpenLayers in my static website on github pages, or do I need a host that supports NodeJS?

I am building a dashboard with ChartJS and OpenLayers installed through NodeJS, so I install packages locally with npm. OpenLayers also must be installed locally through npm, as there is no CDN link ...
Jinglelocks's user avatar
0 votes
0 answers
7 views

cpanel user trying to run a node script from php

cpanel user is trying to run nodejs script from php - keeps running into 126 and 127 and 2 errors... Terminal works, but calling the same nodejs script from php does not. We have tried installing it ...
ina's user avatar
  • 101
0 votes
0 answers
15 views

Avoid sharing objects between contexts using nginx and ember.js

I have 2 differents applications in ember.js: "host1:3000/appA" and "host2:3001/appB". I use nginx so that the client can access appA and appB through a single domain, that is: &...
Torprendido's user avatar
1 vote
0 answers
77 views

IIS Website failed to fetch dynamically imported module

When I try to look at my site from the outside with http://example.com/{R:1}/page1.html I get error failed to fetch dynamically imported module: http://example.com/client/index.7e18705d.js but when I ...
Marv Freed's user avatar
-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 ...
Trevor's user avatar
  • 11
1 vote
1 answer
902 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 ...
kekspekmek's user avatar
1 vote
0 answers
33 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'...
Alej4ndr0's user avatar
1 vote
0 answers
253 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 ...
pk550's user avatar
  • 11
1 vote
0 answers
101 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 ...
onuryildiz's user avatar
1 vote
1 answer
88 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 ...
Vikas's user avatar
  • 149
0 votes
0 answers
46 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 ...
WebQuest's user avatar
2 votes
0 answers
234 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’...
Jack Duffy's user avatar
0 votes
0 answers
652 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 ...
Orange Juice Jones's user avatar
2 votes
1 answer
180 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). ...
BD107's user avatar
  • 123
2 votes
1 answer
369 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 ...
Jorge Mauricio's user avatar
1 vote
1 answer
989 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 ...
emonigma's user avatar
  • 313
5 votes
1 answer
686 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 ...
Levent Ozbek's user avatar
0 votes
1 answer
240 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 ...
abbas hosseini's user avatar
2 votes
1 answer
3k 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 ...
Knowledge Seeker's user avatar
1 vote
1 answer
33 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 ...
jk23541's user avatar
  • 13
1 vote
0 answers
153 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 ...
ZEE's user avatar
  • 11
3 votes
1 answer
406 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 ...
Nina Ten's user avatar
1 vote
1 answer
2k 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 ...
Leonardo Petrucci's user avatar
0 votes
2 answers
2k 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 ...
Gido Selten's user avatar
1 vote
1 answer
638 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 ...
user101070's user avatar
3 votes
0 answers
87 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 ...
Dynamic Remo's user avatar
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 ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
2 votes
1 answer
23 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 ...
ZCT's user avatar
  • 121
2 votes
1 answer
58 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" ...
MD. Mohiuddin Ahmed's user avatar
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 ...
marko-36's user avatar
  • 405
1 vote
0 answers
743 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 ...
Yurgen's user avatar
  • 11
0 votes
1 answer
2k 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 ...
Reenergy's user avatar
1 vote
0 answers
206 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 ...
Matt's user avatar
  • 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 ...
Rhett Martens's user avatar
2 votes
0 answers
345 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 ...
chabu's user avatar
  • 21
0 votes
2 answers
61 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 ...
Pearl's user avatar
  • 19
1 vote
1 answer
194 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, ...
Sona Shetty's user avatar
3 votes
0 answers
801 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. ...
Nitish's user avatar
  • 153
1 vote
1 answer
84 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....
michael hall's user avatar
1 vote
0 answers
117 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 ...
DatOneLefty's user avatar
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....
morgansbyers's user avatar
8 votes
2 answers
25k 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://...
Dynamic Remo's user avatar
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 "...
Siddhartha Chowdhury's user avatar
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 ...
Vlad's user avatar
  • 11
12 votes
1 answer
33k 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 ...
dwjohnston's user avatar
2 votes
0 answers
718 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 ...
abhishek rai's user avatar
1 vote
1 answer
142 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 ...
GMStevens's user avatar
6 votes
1 answer
22k 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 (...
Diligent Key Presser's user avatar
0 votes
1 answer
326 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 ...
George Edwards's user avatar
16 votes
2 answers
52k 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 ...
codecowboy's user avatar