Use a custom hostname

Version: 10.5

You may want to use a custom hostname for the content delivery role or other Sitecore roles.

To enable a custom hostname:

  1. Go to the k8s\<version>\<topology>\configmaps folder, for example, k8s\ltsc2022\xp1\configmaps.
  2. Open the <role>-hostname file, for example cd-hostname, in a text editor.
  3. Replace the hostname in the file with your custom hostname. Save the file.

To secure communications between browsers and the Kubernetes Ingress Controller:

  1. Generate the TLS/HTTPS certificates for your custom hostname.
  2. Place the certicates in the k8s\<version>\<topology>\secrets\tls\global-<role> folder, for example k8s\ltsc2022\xp1\secrets\tls\global-cd.
If you have suggestions for improving this article, let us know!