Servers

In this section I keep notes and write extended tutorials on things like configuring Nginx servers, serving Drupal. Upgrading Ubuntu, PHP-FPM, e.t.c. Apache, Jboss, Tomcat and other might pop in this section as well. Basically routine tasks and solved problems I'm facing everyday. 

There are plenty of translation management systems available on the market, some are better, some have features that other's don't have. And some are paid while some are Open Source (free) In today's servers article series I will share my configuration I used to install Open Source GlobalSight translation management system on...
It has been more than 2 years, since I installed (set and forgot) OwnCloud for internal file sharing.  For the past two years OwnCloud have worked like a charm (and still does). Just today I faced a problem - I tried to upload file larger than 513 MB (default max file for OwnCloud), but struck because of exceeding max file...
I was working on a new customers website, and I was looking for ways to showcase current development stage to the client, meanwhile hiding contents from others. Sounds familiar? In this server series guide I will provide info how to set up basic HTTP authentication with Nginx on Ubuntu 14.04. Most details for this article are taken from...
In this article I will provide simple instructions on how to upgrade Ubuntu 12.04 to 14.04.  In fact I didn't wanted to push for a server upgrade for a while, but decided to do it now, and not to wait when things will break completely. In fact I was working on a Drupal 8 site development and wanted to have it on more recent version...
Today I was eager to install and enable really cool Drupal module for my blog - Social Share Counter, this module looked simple - all I had to do, just download, enable and a little bit tweak around. From module creator (s) This module gives the share counts for only Facebook,Twitter and more which has some excellent features in more...
That day finally have come and I've officially started a new project on my first Drupal 8 website. While my first attempts were about two years ago, but due to the lack of time and will to explore new things and configure new servers I proceeded just tonight (after a conversation with a long time customer we agreed to make a re-...
There is a reason sometimes to follow up official blogs/ social media for services you are using. I had missed an important update from Linode for about a month - Linode had doubled RAM for everyone. First it was announced and implemented already by June 16, 2016 to celebrate Linode's 13th Birthday. I have been a loyal customer...
In this tutorial you will learn how to setup a LEMP stack on Ubuntu 12.04 for serving a Drupal site (s). Update: I originally started this post to document my setup for actually configuring Nginx server on Ubuntu for Drupal site at the start of 2015. Many things have changed ,ever since, thus most of the written bellow will...
Free SSL certificates from Let's Encrypt certify are issued for a short 3 month term. I first enabled secure HTTPS pages around at start of 2016, and now it's time to renew SSL.  The following tutorial is written for Nginx, but should work for Apache as well (with minor modifications) Stop Nginx​ sudo service nginx stop To...
In this article I decided to list cheapest web hosting companies available in hosting market, offering services under five bucks a month. It's a dirt cheap money, for an option to serve your website online. Thus I'm not a fan of shared hosting (and exactly shared hosting fells under dirt cheap), instead I prefer VPS (this blog is served...
It was about a month ago - when I successfully installed secure https pages for my blog, I opted for using free certificate provided by Let's Encrypt certificate authority. I first heard Let's Encrypt certificate authority from KeyCDN. It was super easy and fast to create SSL certificates for my Linode powered Nginx box. Unfortunately...
Encrypted HTTPS websites are pretty much a hot topic nowadays. I have seen a lot noncommercial websites and blogs using HTTPS protocol lately.  I believe cheap prices for certificates and possible SEO boost from Google are pushing more and more to add HTTPS. Including me! In fact this article is first since my blog...
A huge traffic surge to this website was experienced on November 15 when total unique user count reached 7,732. The vast majority of them were coming from Turkey.  Update: Learn how I got 10,000 Page views in a day This was already third traffic spike to my blog, previous record was set back in January (2015) with 3,584 users....
Bad things happens time after time, and so did happened to me recently - after a longer pause I resumed work on a customers project, and I faced a problem - I had lost my password for accessing my Linode VPS. I must admit that I panicked a lot. Since this happened second time in a 3 years, I decided to wrap up a simple article to...
A few days ago a customer of mine experienced an error by not being able to access his management system on intranet I built a few years ago. The error we got was following: "Server has a weak ephemeral Dillie-Heffman public key" or ERR_SSL_WEAK_EPHEMERAL_DH_KEY What basically means: If you see this error, it means that a...
If you are looking for a reliable, fast and cheap hosting for your self-hosted WordPress blog or website - I can recommend you to try Bluehost. The Best Web Hosting Bluehost While I must be completely honest with you - I'm not a fan of WordPress, I prefer Drupal over WordPress (Read: Cheap Drupal Hosting from Bluehost) but if I...
The other day I visited tools.pingdom.com to test performance for my blog (the one you are currently reading) and I did fine I have a two bottlenecks: Remove query strings from static resources Specify a Vary: Accept-Encoding header I managed to handle query string issue for static resources and then I headed to find a solution for...
I believe there are many articles out there about best/cheap/fast... you name it - Drupal hosting. In this article I will provide a simple review of a very known hosting company - Bluehost - 100% compatible with Drupal.  I have been working core with Drupal since 2009, prior to that I developed websites on WordPress. Then I made...
For a prelude, I have been a core Linode VPS user for the past last 3 years. Currently I'm running 4 separate Linode VPS (on one of them this blog is running). I'm paying pretty solid amount of money to Linode each month. And of course I'm a proud Linode affiliate. That's actually a reason why I decided to wrap up a blog post comparing...
Some time ago I explained how one (perhaps you) can do a non www redirect to www redirect (or vice verse) using NGINX. Today I will show how one (again perhaps you) can redirect domainname to any other domain name using Nginx server { server_name .domain.com; return 302 $scheme://forwarded-domain.com; } Found here: http://...
I'm running a Nginx powered server I have configured a while ago. One problem I have on my Drupal sites hosted on that environment is that I couldn't upload a files larger than 1MB using Drupal fields. I got Nginx: 413 Request Entity Too Large error. And it pissed me of - because of - in my php.ini file I had already set a maximum...
Some time ago I get an opportunity to familiarize with ownCloud, you can find out more about my first impressions with ownCloud server here.  Today I decided to create a simple tutorial were I have noted have one (perhaps you) can install his/her own file sharing server - ownCloud. I'm going to use Linode VPS, Ubuntu 14.04 and...
A while ago (actually a very long time ago) I faced a need to develop a file storage server for some of my customer. This is what I wrote 6 months ago: My first idea is to buy cheap VPS from Digital Ocean, set up vsftpd, and add some web interface for user management. For $5 I can get 20GB disk space, so I will try soon to realise...
If semalt.com is messing with your stats and even more - slowing down your web server - block them from accessing your site (s)! I was looking for best ways to block semalt.com, but most of the advices are for Apache environment, what to do if you are on Ngnix server? Block Semalt.com Ngnix if ($http_referer ~* (semalt.com)) {...
It has been years since I last time used .htaccess file available in Apache. I'm using Ngnix servers for 99.9 of mine work. But today I had an opportunity to work on Apache environment, which uses .htaccess file. So in order to rewrite non www to www in Apache I added following rulles to .htaccess file: RewriteEngine On RewriteCond...
Ngnix Redirect To WWW
You already probably know that search engines (Google) sees www as a seperate domain. If you are not using 301 redirect you might get penalized for duplicate content. Anyway - topic for this article is not a SEO lesson, but a solution how to permanently redirect non www to www   Since I'm running on Ngnix, I'll share how to achieve...
Yesterday I wrote, a little bit about my problems with wrong indexed links in Google. Today I will provide a simple guide on  how to configure Ngnix to display 404 page for not configured domains and your servers IP address. For a basic server setup see: LEMP Server Ubuntu 12.04 for serving Drupal on Nginx Create a dummy/default...
Today I stuck with weird problem - links from site I expected to be indexed on Google, was indexed but not from that domain. Links were indexed by IP and other domain names I ran on my VPS. Something went wrong, terribly wrong: By searching for one phrase, Google gaved back results on domains and IP, not the real URL. The thing is, I...