Overview
By default, the Ambassador Portal is set to live at yourcompanyname.getambassador.com. Creating a custom domain for your Ambassador Portal is a great way to keep your branding consistent and provide a white labeled experience for your ambassadors.
How do I create a custom domain for my portal?
Registering a domain for use with the Portal (or any other feature supporting custom domains) is straightforward.
Navigate to admin.getambassador.com and log in.
Go to the
Domains
tab.In the
Custom Domains
form, choosePortal
for Usage Type.Enter a domain that is unique for your Ambassador Portal. For example, if your website is http://example.com , you could choose something like portal.example.com or ambassadors.example.com.
Choose
Add Domain
to start the provisioning process.
Note: In the near future, custom domains will support custom certificates. For now, all TLS certificates are issued automatically by Cloudflare.
When you return to the Custom Domains
page, you will see your new domain listed next to the Status Pending hostname validation
. This means that the domain is ready for configuration.
Hostname Validation
In this section, you will verify your ownership of the custom domain you configured in the first section, allowing Ambassador to serve the link through it. These next steps may vary slightly depending on your hostname registrar. In this example, we will use Cloudflare DNS, but these steps will work with any provider.
Click the checkbox next to the custom domain you configured in the first section and click
View Domain
.A
Domain Details
dialog will appear with information used to validate your domain.
Create a CNAME record with your chosen subdomain with a target of “http://v1.ambassadorportalv2.com ”:
Create a TXT record for
_cf-custom-hostname.<yourdomainhere>
as indicated in Domain Details. The Content for the TXT record will be the Hostname verification value.
After some time (typically 5 min - 4 hours), you will see the status of your custom domain change to
Pending certificate validation
.
Once you receive this status message, you are ready for final steps.
Certificate Validation
Finally, to ensure your customers have the best experience, our custom domain name provider will issue a certificate against your custom host name. This will show that your snippet is being served securely on your website.
Find the
Certificate verification name
andCertificate verification value
on the Domain Details dialogue.
Like in the section above, create a new TXT record. The Name will be the
verification name
and the Content will be theverification value
.
After the TLS certificate has been requested, the Status will change to
Certificate requested
.Once the certificate is provisioned, the status will change to
Completed
.
Note: The time needed to validate the domain and certificate can range anywhere from 15 minutes to several hours. The automated checks happen less frequently over time.
Once the status is Completed, alert our team to enable this new custom portal domain in your account from our backend configuration.