A year ago we setup a help center on hubspot which worked well but for some reason team decided to switch it over to Intercom. Everything was setup and we were only left with pointing subdomain to Intercom, I feel setting custom domain is very simple and explained clearly here (https://developers.intercom.com/installing-intercom/docs/set-up-your-custom-domain).
Pointing the custom domain to your intercom help page is pretty easy using a CNAME in your DNS record. The only thing which i found bit tricky is that by default it won’t work on https (that's not good).but this post will help you to get SSL with the help of AWS cloudFont.
Let's start
1. Login to your AWS account here( https://console.aws.amazon.com), you have to create in case you don't have.
2. Go to Cloudfront console (https://console.aws.amazon.com/cloudfront)
3. Click Create Distribution
4. Click **Get Started under Web**
5. Under Origin Settings > Origin Domain Name, enter Intercom host domain i.e. *custom.intercom.help*
6. Under Default Cache Behavior Settings > Viewer Protocol Policy , select **Redirect HTTP to HTTPS**
Change **Cache and origin request settings** from
*Use a cache policy and origin request policy*
to
*Use legacy cache settings*
Change Cache Based on Select Headers to All
Change Query String Forwarding and Caching to *Forward all, cache based on all* (to help with search)
7. It's time set up a certificate now. Click on **Request or Import a Certificate with ACM button** which will open a new tab to setup ACM.
8. Enter the domain name you’d like to use under add domain names. As we were using a subdomian, so we used help.dev.to, (You should have access to the DNS of this domain as you need to make some changes - like adding CNAME) If you have DNS access then you can do DNS validation, if not then email validation.
9. Click on Confirm and request
After this, you will be able to see a record which you need to add as CNAME DNS records to your DNS system. Once dome click on verify and AWS will validate that.Once validated status will change to *In progress* to *Issued*
10. Coming back to Cloudfront console and select the **Custom SSL Certificate** which will show you custom SSL certificate that you just set up.select it.
11.Add your domain under Distribution Settings > Alternate Domain Names
12.Click on Create Distribution and wait for 10–15 minutes, On successfully creation, you will see statue as **Enabled** with a cloudfont url like **dxxxxxxxxxx.cloudfront.net**.copy this url as we need to setup this as CNAME
13.I am using DNSimple but adding cname is similar for all.
I am assuming that you have setup the custom domain before starting this but if not don't worry, it's much easier than setting up cloudfont.
Go to your Intercom Admin > Help Center and Settings. In the Custom help center domain enter the domain you choose i.e. help.dev.to
That's it. Now your domain (or subdomain) will be served over https
PostGIS - It is an open-source software extension for the PostgreSQL relational database management system. It enables support for geographic objects and spatial queries, making it a powerful tool for working with geographic information systems (GIS) data. PostGIS allows you to store, manipulate, and analyze spatial data, such as points, lines, polygons, and other geometric objects. How to Setup PostGIS with Laravel To set up PostGIS with Laravel, you'll need to follow a few steps. PostGIS is an extension for PostgreSQL that allows you to work with geospatial data, and Laravel is a popular PHP framework. Before proceeding, ensure you have PostgreSQL installed on your server or local development environment. Here's a step-by-step guide to setting up PostGIS with Laravel: 1. Install Laravel: If you haven't already, install Laravel using Composer. Open your terminal and run the following command: composer create-project --prefer-dist laravel/laravel project-name 2. Configure...
Comments
Post a Comment