Didomi's name servers that will host the DNS records for your custom domain
If you need help with this step, feel free to reach out to [email protected] and we'll be happy to help.
If you are using CloudFront from Amazon Web Services
To support your custom domain, we will create a dedicated CloudFront distribution with your custom domain as a CNAME.
Because of AWS restrictions, it is not possible for us to create that distribution if you already have a distribution in your account with either the exact same CNAME or a matching wildcard CNAME. For instance, if you have chosen to use the custom domain privacy.company.com and already have a CloudFront distribution with either privacy.company.com or *.company.com as CNAMEs, we will not be able to create the custom domain for you and the step 2 above does not apply.
If you are in this situation, please read the instructions below and contact us if you need help.
Step 2 - Declare the custom domain
Before we can start serving your privacy center on your custom domain, we need to setup our DNS servers to recognize it.
Send an email to [email protected] or to the person you have been in touch with at Didomi to let us know what custom domain you will be using and that the setup is done on your side.
Managed by AWS CloudFront
If Didomi cannot manage your custom domain (which happens in rare cases when you already use AWS CloudFront on your own) or if you want to setup your custom domain yourself on AWS CloudFront, follow these instructions.
In this configuration, you will need to create your own CloudFront distribution with a SSL certificate and a DNS record that points to that distribution.
Create a CloudFront distribution
Create a CloudFront distribution with a Web delivery method and apply the following configuration parameters:
Origin Domain Name
This is Didomi's upstream/origin servers that CloudFront will query to serve the content of your privacy center on your custom domain.
Viewer Protocol Policy
Redirect HTTP to HTTPS
Allowed HTTP Methods
GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
Cache Based on Selected Request Headers
Whitelist > Add the following headers from the list: Accept, Accept-Charset, Accept-Datetime, Accept-Language, Authorization, Host, Referer
Query String Forwarding and Caching
Forward all, cache based on all
Compress Objects Automatically
Alternate Domain Names (CNAMEs)
Your custom domain name
This is where you specify the custom domain name that you have chosen. It allows CloudFront to know that your custom domain is served by this distribution. See the AWS documentation for more information.
Custom SSL certificate
Choose the SSL certificate that matches your custom domain name or a wildcard
Use the default value for all the other configuration parameters of the CloudFront distribution.
Create a DNS record
Now that your CloudFront distribution has been created, you need to create a DNS record that points to it.
Create a DNS record for your custom domain name and configure it as a CNAME of the CloudFront distribution.
See the AWS documentation for more information on how to create that record on Route53 or another DNS provider.