This is a series of short articles on setting up your own URL shortener.
Assume you acquired a brandnew, flashy short domain. Now there are several ways of setting up your own URL shortener for it,
- subscribing to the service of a specialized SaaS provider, or
- using a self-hosted script.
After a brief overview of available subscriptions to services hosting your URL shortener, the discussion moves to self-hosted solutions, along with fully functional demonstrations for most of them. Three of them—two for URL shorteners, and one for a pastebin assigning short URLs to the pastes—have been provided by BestNa.me. The focus is on self-hosted open source scripts
- allowing for a public interface,
- allowing the maintenance of user accounts (preferably combined with the feature of private access statistics), and
- preferably providing a responsive design.
Unfortunately, many of the free scripts available lack of the second or third feature.
The series consists of 5 parts: