Articles on: SMS

Using custom domain name for link shortening

It is now possible to use your own domain name for SMS link shortening both when sending by hand from the web interface and for API messaging.

To enable this feature, go to Settings • SMS • Link shortening in your account (only users with administrative privileges can access this section). There you can set up the domain name you wish to use for link shortening.

Step 1: Enter your desired domain name (no http:// or https:// necessary in front of the domain).

You should use a previously unused subdomain for link shortening instead of your top-level domain name. For example, if your top-level domain name is example.com, you could use link.example.com as the domain for link shortening. This is because when the domain name records for link shortening have been set up, all of the visitors to that subdomain will be redirected to our platform.

Step 2: Go to your domain name registrar or wherever the DNS records for your domain name are hosted and create the DNS records shown in our interface. You will need two records:
- A CNAME record for the shortening domain (link.example.com in the previous example) that points to customlink.mssg.in;
- A TXT record for "verify."+the shortening domain (verify.link.example.com) that contains the displayed value.

Step 3: After these records have been created, you can verify that they're set up correctly. Once the DNS records pass verification, an HTTPS certificate will be created on our side for these domains. This may take some time but once the certificate is created, your domain name will be active and will be used for link shortening instead of our default domain mssg.in.

If you host your DNS with a proxying service like Cloudflare, make sure that the CNAME record is not proxied through it, otherwise DNS record verification will fail.

Updated on: 23/03/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!