-
Suggestion
-
Resolution: Unresolved
-
None
-
11
-
Currently, for security reasons, a custom domain must follow the pattern <subdomain>.<subdomain keyword>.<domain>. For example, https://customer.support.acme.com.
(ref: https://support.atlassian.com/organization-administration/docs/add-a-custom-domain/).
However, this is not ideal for customers who want to have a shorter custom domain.
It would be great to have the option to only use one subdomain.
In the meantime, the optional redirect URL can be used when creating the custom domain.
You can achieve a proper Redirect URL (preserving the path) as well as enforce SSO if you're using Cloudflare or something similar in front of Atlassian. The only downside to this is that the actual URL in the address bar and share links will still be for the fourth-level domain.
We use a Cloudflare Redirect Rule with an expression to concatenate the Atlassian SAML Logon URL (with continue parameter) and the Request URI Path.
concat("https://id.atlassian.com/login/saml/start?connection=saml-GUID-GOES-HERE&application=jira&continue=https%3A%2F%2Fcustomer.support.acme.com", http.request.uri.path)