# Not able to access AWX using cname

**URL:** <https://forum.ansible.com/t/not-able-to-access-awx-using-cname/37883>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [April 13, 2023, 8:57pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-using-cname/37883 "2023-04-13T20:57:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaushik\_R](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kaushik\_R](https://forum.ansible.com/u/Kaushik_R)\
**Post date:** [April 13, 2023, 8:57pm UTC](https://forum.ansible.com/t/not-able-to-access-awx-using-cname/37883/1 "2023-04-13T20:57:47Z")

</div>

Hi Team,

My AWX instance is configured to use an ingress via External DNS running within the cluster. The ingress is tied with a TLS cert configured within a secret. Therefore, when I configured the AWX ingress to use both the Cname and the long URL(to be used due to external DNS), I’m unable to get the CNAME to work. Below is the ingress config -

apiVersion: [networking.k8s.io/v1](http://networking.k8s.io/v1)  
kind: Ingress  
metadata:  
labels:  
[app.kubernetes.io/component:](http://app.kubernetes.io/component:) awx  
[app.kubernetes.io/managed-by:](http://app.kubernetes.io/managed-by:) awx-operator  
[app.kubernetes.io/name:](http://app.kubernetes.io/name:) awx  
[app.kubernetes.io/operator-version:](http://app.kubernetes.io/operator-version:) 0.23.0  
[app.kubernetes.io/part-of:](http://app.kubernetes.io/part-of:) awx  
name: awx-ingress  
namespace: ansible-awx  
spec:  
rules:

- host: " "  
http:  
paths:
- backend:  
service:  
name: awx-service  
port:  
number: 80  
path: /  
pathType: Prefix  
tls:
- hosts:
-   
secretName: awx-ingress-secret

Any suggestions as to who I could get this working?
