Password-protect Parts of Your Website

Prerequisites You will need a running ubuntu server to follow the steps in this article. Setup Enter in terminal: sudo apt-get update sudo apt-get install apache2 apache2-utils sudo htpasswd -c /etc/apache2/.htpasswd some-username sudo nano /etc/apache2/sites-enabled/000-default.conf Add: <Directory “/var/www/html”> AuthType Basic AuthName “Restricted Content” AuthUserFile /etc/apache2/.htpasswd Require valid-user </Directory> Replace /var/www/html with the path to the directory you want to […]

Host Static Files with Apache on Digitalocean

1. Setup Digital Ocean Server Login or create an account and spin up a new ubuntu 14.04 droplet at, it is pretty self explanatory. In the options, you should choose login through SSH if you want to follow this article step by step. Then login to your Server: ssh root@<yourIp> (e.g. ssh root@ 2. Install Apache […]

Install SSL certificate through letsencrypt on nginx

The days of expensive SSL Certificates are over. Letsencrypt is rapidly changing the way certificates are handled. The basic functionality is that you install the letsencrypt client on your server and from there it does its magic to authenticate your server. They also offer a lot of automation tools, which might scare you at first. […]

How to setup www vs non-www, http vs https for SEO

When learning about SEO, you have probably read that you should only use www or non-www and only http or https. This begs the question: What does “only” even mean? Does it mean in all your blogs and PR events you must link consistently to or is a forward from to good enough? My research […]