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:
- Go to the
k8s\<version>\<topology>\configmapsfolder, for example,k8s\ltsc2022\xp1\configmaps. - Open the
<role>-hostnamefile, for examplecd-hostname, in a text editor. - Replace the hostname in the file with your custom hostname. Save the file.
To secure communications between browsers and the Kubernetes Ingress Controller:
- Generate the TLS/HTTPS certificates for your custom hostname.
- Place the certicates in the
k8s\<version>\<topology>\secrets\tls\global-<role>folder, for examplek8s\ltsc2022\xp1\secrets\tls\global-cd.
If you have suggestions for improving this article, let us know!