Custom Domain Configuration
Metadata
- Document:
CUSTOM_DOMAIN_CLIENT_SETUP - Version:
v1.1.0 - Status:
ACTIVE - Classification:
CLIENT-SHAREABLE - Owner:
Customer Success + Engineering - Approver:
CTO - Latest revision:
2026-03-11 - Next revision:
2026-06-11
1. Objective
Guide Quiker customers in custom domain configuration with a focus on DNS and redirect behavior.
2. How it works
- The Quiker canonical URL remains active as an official fallback.
- The custom domain should just redirect to the hub’s canonical URL.
- The redirect must be
301(or308), with preservation ofpathandquery string. - The destination must always be
https.
Example:
- Custom domain:
hub.cliente.com - Quiker canonical URL:
https://meu-hub.quiker.com.br - Expected result:
https://hub.cliente.com/ofertas?utm=abcredirects tohttps://meu-hub.quiker.com.br/ofertas?utm=abc
3. Information required before configuration
Ask the Quiker team:
- Custom host that will be configured (e.g.:
hub.cliente.com). - Canonical hub destination URL (e.g.:
https://meu-hub.quiker.com.br).
Example:
- Origin:
hub.cliente.com - Destination:
https://meu-hub.quiker.com.br
4. Generic step by step (any DNS provider)
- Set the source host the client wants to use.
- Example:
hub.cliente.com
- Create the DNS record for this host in the correct zone.
- If it is a subdomain, normally use
CNAME. - If it is a root domain (
cliente.com), useA/AAAA(orALIAS/ANAME, depending on the provider). - In case of a delegated subzone (e.g.:
dev.cliente.com), confirm that the record was created in the correct delegated zone.
- Configure a permanent redirect on the hosting/proxy/web rule provider.
- Type:
301(or308). - Origin:
https://<host-customizado>/* - Destination:
https://<hub-canonico-quiker>/$1 - Preserve query string: enabled.
- Enable HTTPS on the origin domain.
- Install a valid TLS certificate for the custom host on the provider used for redirect.
- If the client does not enable HTTPS at the origin,
https://host-customizadomay fail.
5. Mandatory technical requirements
- Redirect status:
301or308. - Destination must be in
https. - Preserve
pathandquery. - The hub’s canonical URL must be the one provided by Quiker.
6. Mandatory validation
Run after DNS propagation and redirect configuration:
dig +short hub.cliente.com A
dig +short hub.cliente.com CNAME
curl -I http://hub.cliente.com/
curl -I "http://hub.cliente.com/teste?utm=abc"
curl -I https://hub.cliente.com/
curl -I "https://hub.cliente.com/teste?utm=abc"Expected result:
- DNS resolves (
digreturns IP/alias/cname). curlreturns301or308.- Header
Locationpoints to the correct canonical URL. pathandqueryare preserved.- No loops and no incorrect chain of redirects.
7. Common errors and correction
Could not resolve host
- Record was created in the wrong hosted zone (e.g. main zone instead of delegated subzone).
- Wait for DNS propagation.
- Return
302instead of301/308
- Adjust rule on the provider for permanent redirect.
httpsdoes not work on custom domain
- TLS certificate not configured on the provider that responds to the origin host.
- Redirect rule was applied only to
http.
- Redirect without
path/query
- Adjust rule to preserve path and parameters.
- Redirect to wrong hub
- Review canonical URL provided by Quiker.
8. Final checklist to send to the Quiker team
Send evidence:1. Configured custom host.
2. Canonical URL configured as destination.
3. Print of the DNS configuration (record created).
4. Print of the redirect rule configuration.
5. Output of curl -I commands (with Location visible).
6. Confirmation of 301 (or 308) with preservation of path/query.
Last updated on