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.
63 questions
1
vote
1
answer
182
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 ...
1
vote
0
answers
126
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 ...
-1
votes
1
answer
29
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 ...
1
vote
1
answer
2k
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
136
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
299
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 ...
1
vote
0
answers
150
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
120
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 ...
0
votes
0
answers
53
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
302
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
1k
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
292
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). ...
2
votes
1
answer
707
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
1k
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
971
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 ...
0
votes
1
answer
277
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
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 ...
1
vote
1
answer
43
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 ...
1
vote
0
answers
183
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 ...
3
votes
1
answer
480
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
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 ...
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 ...
1
vote
1
answer
763
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
112
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
31
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 ...
2
votes
1
answer
65
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
3k
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 ...
1
vote
0
answers
749
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 ...
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 ...
1
vote
0
answers
212
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 ...
1
vote
0
answers
16
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
358
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 ...
0
votes
2
answers
82
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 ...
1
vote
1
answer
233
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
836
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. ...
1
vote
1
answer
98
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
155
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....
8
votes
2
answers
27k
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
3k
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 ...
13
votes
1
answer
43k
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
762
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
152
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 ...
8
votes
1
answer
24k
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
394
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 ...
19
votes
2
answers
59k
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
1k
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
20
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 ...