Announcing sund.la

Here’s a intro of YOURLS and my implementation of it at sund.la.

From the README at the github repo:

YOURLS is a set of PHP script that will allow you to run your own URL shortener. You’ll have full control over your data, detailed stats and analytics, plugins, and more. It’s free.


Initially, I had used y.sund.org as my own URL shorting service, but with gandi.net I found a good price for a domain name in the Isle of Man so I was able to shorten URLs even further. I used gandi.net as the registrar this time and found them better than netsol.com as you have version control for your hosts config. Although, this will seem like I did all of this in one night, I had to wait overnight once I registered the new domain name for it to propagate out to the internet.

Installing YOURLS is straight forward with the instructions. I did need to install a few packages:

apt-get install php5-gd php5-mysql libapache2-mod-php5

For the apache conf, put the following in /etc/apache2/sites-enabled:

#file name: your.server.name

ServerName your.server.name

DocumentRoot /var/your.server.name

Options FollowSymLinks
#AllowOverride None
Options FollowSymLinks MultiViews
#AllowOverride None
Order allow,deny
allow from all

CustomLog /var/log/apache2/your.server.name/access.log combined
ErrorLog /var/log/apache2/your.server.name/error.log

Then to enable it, run:

a2ensite your.server.name

Then you should be able to login to your YOURLS site.

UPDATE: I changed over to use sund.la

Leave a Reply