This blog is self hosted
I spent days setting up this blog but for some good reasons. First I wanted to be independent and maintain control of my data, I had too many problems with services stopping and company closing. But I also wanted my blog to be SEO friendly and the fastest possible so I needed to have the most control possible on the software used to be able to tweak it like I want.
So instead of renting a web hosting service or to pay for a hosted blog I decided to use a VPS (virtual private server) and do everything on my own.
Powered by Ubuntu Linux distribution
I’m not that much a fan of Canonical (the editor of Ubuntu) as they made decisions for their desktop distribution that I didn’t like. But for a server I think it works well. Ubuntu is based on Debian but it feels a bit more hassle-free in my opinion. Most software I used are up to date ans easy to install. I think that Debian is not as simple to use for me. I know some people prefer to use Debian but I don’t think it is so different in fine. At least for my usage.
Ubuntu works well on by VPS, it doesn’t use a lot of ram and I haven’t got any crash yet. It has been running for something like 6 months at the moment (I was using it before I started this blog) without any problem.
WordPress as a blogging software
As you may have noticed, I’m using wordpress. It is open source and has a HUGE community. You have to be cautious thought, many people are making a lot of money by selling themes, plugins and most of the free plugins are heavy and bloats your blog.
Optimisation is the key
WordPress + Nginx + MariaDB = Love
I used Apache for many years but I had problems with my Owncloud installation on Apache. I tried it with Nginx and loved it. At first the config files are a little bit scary when you are used to Apache, but after a while it feel more natural and more powerful. I’m using a custom version of Nginx to be able to handle the cache correctly and not the one from Ubuntu repositories. Caching with Nginx is really efficient, in fact webpages are generated by php only when it is needed and most of the time a cached version of the page will be served to visitors. That’s what makes (or at least should make) this blog fast. Even a static webpage couldn’t be faster using the same server. I’m also using MariaDB as database, it is a fork of Mysql that is a little bit more optimized but above all, not owned by Oracle.
I don’t currently have millions of visitors, but I’m able to host three websites on the same VPS without any slow down. The only problem you may have is because this website is hosted in France, so if you are from the USA or from Asia it could be a bit slower.
Hosted on a OVH VPS
In a client of OVH, they are not the cheapest and doesn’t have hundred of features, but they have enough to make my DNS managing really simple. The bandwidth is great and not limited so my website speed is constant and stable. I may try another host one day but for the moment I’m staying with OVH.
Now you know how this blog is run, I should add that I’m also using Postfix and Dovecot as a mail server and rsync to backup all my server daily, in case my server crashed or if I get hacked.
If you have any question or if you want to share what you are using for your blog, please comment bellow.