# Short urls - 101

&#x20;In this section, we’ll break down the key components of a short link, so you know exactly what each part does and how you can utilise them to your advantage.

## <mark style="color:purple;">**1. Domain**</mark>

* **Description**: The domain is the part of the URL that precedes the short alias. It’s the web address of the URL shortening service.
* **Example**: In the short link `http://quic.ly/dCXdr1`, `quic.ly` is the domain.
* quic.ly helps to create a shortened url like the one below

<div align="left"><figure><img src="https://2213782032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcuQD9bKpuaPH1WnZJ9Zl%2Fuploads%2Fk1T7ygKdmSz1oNO2Z01Y%2FGroup%2044.jpg?alt=media&#x26;token=3b7f7e3a-26d5-45b0-bf0d-c000266b81d1" alt=""><figcaption><p>img 1 - A long url typical of a website</p></figcaption></figure></div>

## <mark style="color:purple;">**2. Alias**</mark>

* **Shortened url:** quic.ly converts the long url to a shortened url as shown in image 2.
* **Description**: The alias is the unique identifier that follows the domain in a shortened URL. It’s a randomised string of characters generated by the system.
* **Example**: In `http://quic.ly/dCXdr1`, `dCXdr1` is the alias.

<div align="left"><figure><img src="https://2213782032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcuQD9bKpuaPH1WnZJ9Zl%2Fuploads%2FI2mtbjwD8PxnDYmwvhV8%2Fshort.jpg?alt=media&#x26;token=b016bd7b-b008-40f0-9b08-22e54e94a64d" alt=""><figcaption><p>img 2 - A shortened url with random alias provided by quic.ly</p></figcaption></figure></div>

<div align="left"><figure><img src="https://2213782032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcuQD9bKpuaPH1WnZJ9Zl%2Fuploads%2F1MdOAhU16tst65kzc7n9%2FGroup%2046.jpg?alt=media&#x26;token=b2490f81-98f8-4808-9baf-e908ba7309ea" alt=""><figcaption><p>img 3 - Domain and alias of shortened url</p></figcaption></figure></div>

## <mark style="color:purple;">**3. Custom Alias**</mark>

* **Description**: A custom alias lets users create their own meaningful and memorable short link ending.
* **Example**: Instead of a random string, you can have `http://quic.ly/mycatalog`.
* **How to Use**: During the URL shortening process, choose the option to customize your alias and enter your preferred string.

<div align="left"><figure><img src="https://2213782032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcuQD9bKpuaPH1WnZJ9Zl%2Fuploads%2FN31pGLmGxM9J9XFBDfZy%2FGroup%2047.jpg?alt=media&#x26;token=f69e50f2-7d2a-4e71-bf14-84dfbf451b31" alt=""><figcaption><p>img 4 - Shortened url with custom alias</p></figcaption></figure></div>

## <mark style="color:purple;">**4. Custom Domain**</mark>

* **Description**: A custom domain allows users to personalise the domain part of their short links. This feature is usually available for premium users.
* **Example**: Using a custom domain, a short link could look like `http://coach.at/book`.
* **How to Use**: To set up a custom domain, you need to configure the DNS settings of your domain to point to our service

<div align="left"><figure><img src="https://2213782032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcuQD9bKpuaPH1WnZJ9Zl%2Fuploads%2F9EKv6NCFPT4Bu48tEU9Z%2Fcustom.jpg?alt=media&#x26;token=4618d82a-a9a8-412a-98b2-417bc45fd50b" alt=""><figcaption><p>img 5 - shortened url with custom domain and alias</p></figcaption></figure></div>

By understanding these key components, you can create short links that are not only concise but also branded and memorable, providing a better experience for your audience. Ensure to follow best practices for custom aliases to maintain a professional and consistent branding.
