Is it possible to set same port work with http and https?

I’ve nodejs application which port number is 3001 and this app working with http but not work with https. On apache server, set the revers proxy for 80 or 443 to 5001 and set revers proxy for 3001 also. http://<domain>:3001/socket.io/socket.js —> Work https://<domain>:3001/socket.io/socket.js —> Not Work(Secure Connection Failed or This site can’t be reached) Here … Read more

Unable to redirect port to main domain page on Ubuntu VPS

Basically, I have a Nodejs program running on port 4000 of my server and instead of the visitors having to type mydomain.com:4000 to access it, I’d like it to be displayed when they visit the normal domain of mydomain.com but I can’t seem to get it to work. This is what I’ve done when setting … Read more

Staging architecture on AWS

We are using AWS (EC2-classic) and I will migrate our servers to AWS VPC, we will use AuroraDB, too. Staging ENV has 8servers (Linux Ubuntu 14.04), and on these servers are running RoR & node.js applications. I was thinking to consolidate these servers into one server. Pros easier maintenance we will be able to save … Read more

Loading files from different partitions

I’ve been working on a chat engine with file streaming builded with socket.io and nodejs. Everything is working well, messages, notifications, chat rooms and even the file streaming but let’s say that we have a server with only 1TB (250gb HDDx4) and my app is instaled in C:/, my friends can upload files in the … Read more

CentOS, install nodejs latest

i have problem with installation of latest version of node on CentOS 7 i run yum remove nodesource-release* nodejs yum clean all command rpm -qa ‘node|npm’ shows nothing, so i run this command: curl –silent –location https://rpm.nodesource.com/setup_10.x | sudo bash -xe – but it still wants to install sudo yum install nodejs >> 2:6.17.1-1nodesource and … Read more

Shared hosting vs VPS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago. Improve this question I am looking at the shared hosting vs VPS plans, and I see that although … Read more

Site rendering differently with and without “www” [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago. Improve this question I recently developed a site, and was surprised to find that the section labeled “Transparent … Read more

how to migrate wordpress blog website to a node based application? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 4 years ago. Improve this question I had an already existing blog written in wordpress, which uses db for storing the posts. Now, I am removing the wordpress and … Read more