Setting up a custom hostname for your Portal

With a custom hostname, your Portal (the public page with your changelog) is served under your own domain, for example changelog.mysite.com, so your users get a fully branded experience.

It takes two steps: set the hostname in AnnounceKit, then point your DNS to our servers.

Step 1: Configure Custom Hostname

  1. Open Settings and go to Portal.
  2. In the Custom domain card, type the hostname you'd like to use in Custom hostname. For example, you can choose something like changelog.mysite.com.
  3. Click Save.

Here is the Custom domain card. The Verify hostname button is used at the end of Step 2.

The Custom domain card in Portal settings: the Custom hostname field, the highlighted Verify hostname button and the DNS instructions

If the field is locked, Custom domain is not included in your plan.

Step 2: Configure DNS Records

Now that you've chosen your custom hostname, you need to configure your DNS records to point to our servers. Here's how to do it:

  1. Create a CNAME record in your DNS settings. This record points your custom hostname to our servers.

    changelog.mysite.com CNAME cname.announcekit.app.

    Replace "changelog.mysite.com" with your custom hostname if it's different.

  2. Verify your hostname. Back in the Custom domain card, click Verify hostname. The button reads Hostname verified when the record is found. If it reads Verification failed, wait for your DNS change to spread and try again.

SSL Certificate Setup

Good news! We automatically take care of SSL certificate creation for custom domains without any action required on your part. Simply complete the CNAME record setup, and we'll handle the SSL certificate for you.

User Tracking and Segmentation on your Portal

After creating your custom hostname, if you have a widget implemented with User Tracking & Segmentation, you need to update your widget code, because its URL changes.

If you want your custom hosted Portal to recognize segmentation rules and enable user tracking, follow these steps:

  1. Open Widgets in the sidebar and click your widget.
  2. Go to the Implementation tab and, under Javascript, click Copy Widget Code.
  3. Replace the existing widget code on your website with the code you copied.

Here are the steps, from the widget list to the code on the Implementation tab.

Opening a widget from the Widgets list, then its Implementation tab, and scrolling to the Javascript code with the custom hostname

In the new code, the widget address starts with your own hostname. If you have more than one widget on your pages, update the code of each of them.

The table below shows how the widget address in the code changes.

Before custom hostname

Widget code before a custom hostname: the widget address starts with https://announcekit.co/widgets/v2/

After custom hostname

Widget code after a custom hostname: the widget address starts with the custom hostname

Additional Note for Cloudflare Users

If Cloudflare is your DNS provider, set the CNAME record to DNS only (grey cloud), not Proxied, then verify your hostname again: a proxied record fails the check and breaks SSL for your Portal. The steps are in Custom hostname troubleshooting: verification failed or SSL error.

That's it! You've set up a custom hostname for your Portal, configured DNS records, and, if needed, updated your widget code for user tracking and segmentation. Your Portal should now be accessible using your chosen custom hostname. If verification fails or you see an SSL error, see Custom hostname troubleshooting: verification failed or SSL error.

Was this helpful?