Create your own URL Shortener with Short.io for free

Create your own URL Shortener with Short.io for free

Preparations

  • A domain name
  • A device which can connect to the Internet

Getting started

1.Go to short.io register a account and login, after login click Add domain and add your domain address.

2.After add your domain you will see 2 DNS records, looks like below:

1
2
3
| A    | @    | 52.21.33.16 |
| ---- | ---- | ----------- |
| A | @ | 52.2.56.64 |

copy the DNS records shown and add to your domains DNS setting on your domain registrar’s site. ( Such as Namecheap, Cloudflare, etc. )

ATTENTION: If you configure your DNS records, you need to change the Proxy status to DNS Only mode.

3.Wait a short time while DNS records refreshing (this may take up to 2 hours), often it refreshes in a short time. You can click REFRESH button on Short.io dashboard > Domain settings to force check.

4.Done. Now you can create short links with your domain name Short.io dashboard and customize the slugs.

You need to crate a secret API keyto use the bot with your configured domain above. Create your secret API key here.

Integration with other unofficial services

Integrate with ShareX

1.Copy the below configuration code and replace the secret API key & domain namevalue to your own. (Get secret API key from here.)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"Version": "13.6.1",
"Name": "My-URL-Shortener (URL shortener)",
"DestinationType": "URLShortener",
"RequestMethod": "POST",
"RequestURL": "https://api.short.io/links",
"Headers": {
"Authorization": "YOUR SECRET API KEY"
},
"Body": "JSON",
"Data": "{\n \"domain\": \"YOURDOMAINNAME.COM\",\n \"originalURL\": \"$input$\"\n}\n",
"URL": "$json:secureShortURL$",
"ErrorMessage": "$json:error$"
}

Copy the configuration codes after that to clipboard.

2.Open ShareX Custom Uploader Settings, and click import select import from clipboard,it will help you import your URL shortener to ShareX. Now you can use the custom URL shortener with ShareX to shorten your links with your domain, enjoy!

Integrate with your own Telegram Bot

You can create your own Telegram bot hosting on Cloudflare Workers integrate with your domain for free. For more details see: lekoOwO/short-link-bot

Special thanks

lekoOwO for lekoOwO/short-link-bot


Create your own URL Shortener with Short.io for free
https://blog.erbanku.com/62161881/
Author
Cactus
Posted on
February 23, 2022
Licensed under