How to setup multiple A records for the same domain

Posted October 12, 2020 927 views
NginxKubernetesDigitalOcean Managed KubernetesDigitalOcean Managed Load Balancers

I have a domain configured in DO. My k8s cluster runs in DO and I’m pretty happy with it. The landing page for my company runs in so now I want to configure my domain to handle users accessing the webpage or the microservices behind the load balancer.

I want to have the following behavior:

GET -> (
GET * -> DO load balancer

My DO load balancer is a service in k8s with an ingress controller. I can dynamically create Ingress routes like and It should send the traffic to the load balancer.

Accesing should send traffic to the ip address.

Can I acomplish this with 2 A record and setting one to * or not?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

This sounds like it would be configurable in a domain managed by DO. Just using the subdomain routing and setting your wildcard to your DOKS LB and your domain to the IP you mentioned.

Hope this helps!