Skip to content

Bare metalΒΆ

How to configure a VPS for web hosting?

VPS & Web Hosting series part 3: Maintenance & additional notes

So... we did install everything we needed on our VPS to fulfill our client (ITRocks) requirements. The app is running blazing fast, it's secured and all but...

Did you think it was enough? Or did you secretly hope that there will be more? Maybe both!

Let's go a step further with this last part. To be fair, this part could have been itself an entire series, but we've already learned a lot, and what can be done next is... an almost infinite number of things depending on your use cases.

How to configure a VPS for web hosting?

VPS & Web Hosting series part 2: Configuration

In the previous part, we presented the project, installed required packages and even pulled the source code of our incredible app ITRocks into its own folder.

The thing is... the real work hasn't been done yet. Be sure that serious stuff will happen in this second part, so stay with me. This is when it starts to be very interesting! Don't worry, though... it's not that hard, I promise πŸ˜„

We must configure our tools and our VPS to put our app in production. So go grab a cup of warm coffee, open a new terminal and follow me into that really exciting phase!

How to configure a VPS for web hosting?

VPS & Web Hosting series part 1: Installation

Fully configuring a VPS is not that hard nor that long, but when we start our IT journey it's an intimidating task.

Today, we'll configure one from scratch (and for fun πŸ˜‰). Let's dream about a NodeJS application that must connect to a MongoDB instance hosted somewhere else. To spice-it up a little, our fictive project called IT Rocks is both an HTTP server and a WebSocket server. It must be able to send emails to our customers too.

And... since it's a very serious project, it needs to be accessible within restrictive networks as well. Why? Because... what would be an IT task without a tricky part?

How to configure a VPS for web hosting?

VPS & Web Hosting Series: Bare-metal setup from start to end

Fully configuring a VPS by hand when everybody seems to only rely on cloud nowadays? Really? You'd be surprised to find out that many companies still use VPSs or dedicated servers, especially when they want to run a non-conventional web application, their own private cloud or even to reduce infrastructure costs.

And that's not to mention the fact that many cloud providers (like AWS) just provide you an instance that is... a VPS that still needs to be configured!

In this series of three articles, let's dive into a case study based on several real setups.