<p>There are two parts to this.</p>
<ol>
<li>I am using kops v1.17.0 to standup kubernetes cluster on ec2 instances. I am followinf these docs for doing so. <a href="https://kubernetes.io/docs/setup/production-environment/tools/kops/" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/tools/kops/</a></li>
</ol>
<p>on of the points go as follows.</p>
<blockquote>
<p>kops has a strong opinion on the cluster name: it should be a valid
DNS name.</p>
</blockquote>
<p>this got me confused. Can my cluster serve requests to only one DNS and its subdomains?</p>
<ol start="2">
<li>I tried this on a domain <strong>example.com</strong> I created a hosted zone for it. created a cluster named  example.com.k8s.local.</li>
</ol>
<p>I pointed this domain to my clusters load balancer. and I can access example.com. All good till now.</p>
<p>now, I want one of the services in my cluster to be served on <strong>abc.com</strong>. I created another hosted zone, and a new record set within it which points to this load balancer.  I am expecting to visit abc.com and see this service but all I see is <strong>nginx 404 not found</strong></p>
<p>Is this happening because of the first point I mentioned or totally separate issue?  If it is because of 1st point is there aa way around or one cluster is always tied to one domain in the kops world?</p>

Ojas Kale
<p>As far as the first part is concerned, Yes I can serve multiple domains from same kubernetes cluster with this setup. upto certain version there was a hard requirement of matching domain name with cluster name, its not the case anymore.</p>
<p>Couple of things you need to consider. while issuing a certificate from ACM, make sure all your domains are listed</p>
<p>example</p>
<pre><code>example.com
*example.com
bar.com
*.bar.com
</code></pre>
<p>make sure that all of the domains are validated and are not in pending or any other state.</p>
<p>I think reason for second issue was one of the domains in my certificate generated by ACM was invalid state and thus in pending state.</p>
<p>@jt97 ^^</p>
