What it is good for
Shlink is an open source URL shortener you run on your own domain. Paste a long address and get a short one, choose your own slug if you like, add tags, set an expiry date or a visit limit, and see how many people clicked, when, from which country and on which device. Every link has a QR code, and there is a REST API for scripts and apps.
On CoreHost, Shlink comes with its official web client at your address, hosted in Australia, the United States or Poland. We handle the server, TLS, updates and daily backups. The first time you open your address you add your server with the API key shown on your CoreHost page, and then you manage everything from the browser.
Your instance is private to you. Visitors can follow your short links, but nothing can be created, changed or read without your API key, which is generated for you. Because link shorteners are a favourite tool for phishing, the instance does not fetch the pages your links point to, limits how fast one address can create or follow links, and does not store visits to addresses that are not links.
Shlink is an independent open source project. CoreHost runs the official release and is not affiliated with it.
- Short links on your own domain, with your own slugs, tags, expiry dates and visit limits
- Click statistics by day, country, browser and referrer, with visitor addresses anonymised by default
- The official Shlink web client included at your address, plus a REST API
- Closed by default: no link can be created or read without your private API key, and a leaked key is replaced by changing one setting
- Built for shared servers: no outbound page fetching, rate limits per visitor, and a database that repairs itself from its own snapshots
- Hosted in Australia, the United States or Poland
Replaces Bitly: custom domains and detailed click statistics sit on paid plans.
Shlink is an independent open source project released under the MIT licence. CoreHost is not affiliated with the Shlink project. Shlink website, Shlink on GitHub.
How to reach it
Your app gets its own address, https://<your app name>.hostedat.corehost.io. You choose the app name when you deploy, and the address has HTTPS from the start.
You can also use your own domain at no extra cost: point a CNAME at your app's address, prove you control the domain with a small TXT record, and the TLS certificate is issued and renewed automatically. Both steps are shown with copy-paste values in your control panel.
First sign-in
Your sign-in is created for you.
There is no username and no default key. A private API key was generated for your instance and is shown in your control panel. The web client at your address asks for your address and this key once, and keeps them in your browser. Visitors can follow your short links, but nothing can be created, changed or read without the key.
To limit who can reach the app, switch on its firewall and allow only the IP addresses you choose. It is off by default.
First steps after deploy
- Open your Shlink address, choose Add a server, and enter your address (the full https address) and the API key shown in your control panel. Give the server any name.
- Press Create short URL, paste a long address, optionally choose your own short code, tags or an expiry date, and save. Copy the short link it shows.
- Open Settings on CoreHost to change the redirect type, the redirects for unknown links or how fast one address may create or follow links. Restart the app to apply a change.
Bringing your data in
Create links in the web client or through the REST API with your key. Everything is stored in a PostgreSQL database that runs inside your instance; there is nothing to set up.
Apps and clients
- Web client
- Included at your address. You can also use any other Shlink client, such as app.shlink.io, which runs in your browser: add your address and API key there.
- REST API and scripts
- The API is at /rest/v3 on your address. Send your key in the X-Api-Key header. Create more keys, for a phone or a script, with the console command newkey followed by a name; disable one with disablekey.
Already running Shlink somewhere else? How to move it here, or read how moving to CoreHost works.
Connect it to other CoreHost apps
Apps on CoreHost reach each other over their public https addresses, the same way you do. There is no private network between apps yet, so when one app asks for another's address, give it the full https address (or your custom domain) and sign it in with that app's own key or login.
Related apps on CoreHost
- PrivateBin docs, for encrypted, self-hosted pastebin
- IT-Tools docs, for handy in-browser developer utilities in one page
- linkding docs, for bookmark management
Backups and updates
Every app is backed up automatically every night, including its database. Backups are encrypted and incremental and stored in the EU, and you keep restore points for the last 14 days plus four weekly ones. To restore, open the Backups card on your app page, pick a restore point and press Restore. Your current files are saved as a restore point first, so a restore can be undone.
Your database is included in the CoreHost daily backups, which are encrypted and stored in the EU. The app also writes its own consistent database snapshot every 3 hours, and when it starts or stops if the last one is more than an hour old, and keeps the newest 8 in the backup folder inside your data folder. After a restore it checks the database and, if it finds damage, puts back the newest snapshot.
You can also send backups to your own S3-compatible storage, such as AWS S3, Backblaze B2, Cloudflare R2 or Wasabi, and use SFTP or the file manager to keep your own copies.
Updates
We check for new versions every day and test each one on a copy of the app first. With automatic updates on, a version that passes usually reaches your app within a day or two of us finding it, in your maintenance window. A backup is taken before every update, and if the updated app fails its checks it is rolled back automatically. Major versions wait for our review, so they can take longer. Turn automatic updates on or off, choose the maintenance window or press Update now in the Updates section of the app's Settings.
Each region's default update window and the changelog are on the updates page.
Where to get help
Questions about how Shlink itself works are best answered by the project's own documentation and community.
- Documentation
- shlink.io/documentation
- Website
- shlink.io
- Source code
- github.com/shlinkio/shlink on GitHub
- Licence
- MIT
CoreHost support
For anything about your app on CoreHost, open a ticket: sign in, go to Support tickets in your control panel and press New ticket. Our AI support answers around the clock and can look at your app's status and logs, and any change it suggests runs only after you confirm it. People take over when needed, during Australian hours.