> ## Documentation Index
> Fetch the complete documentation index at: https://ona.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete DNS Setup

# Post-Deployment DNS Configuration

<Tip>
  This section is relevant only if you are using your own domain name to
  setup a Gitpod cell. That is, a non `gitpod.cloud` domain name is being
  used.
</Tip>

Once your CF stack creation has successfully completed, you have to make sure than the domain names you are going to use to access the Gitpod setup is pointing to the right loadbalancer Domain names. We create two Network loadbalancers as part of our setup, that points to different EKS clusters. You will find the DNS names of both these loadbalancers in the output of your CF stack as shown below:

<Frame caption="Instance Configuration">
  <img src="https://mintcdn.com/gitpod-13c83c2b/1T56zcBWQ3jfH-V2/images/enterprise/instance-output.png?fit=max&auto=format&n=1T56zcBWQ3jfH-V2&q=85&s=a9b7bec3bfa3404782ab144db5fd9cbe" width="2808" height="696" data-path="images/enterprise/instance-output.png" />
</Frame>

You can now go ahead and complete the DNS configuration as follows:

* Navigate to the DNS zone that controls your domain.
* Add a record the following CNAME records:
  * From `yourcustomdomain.com` to Meta Loadbalancer DNS name
  * From `*.yourcustomdomain.com` to Meta Loadbalancer DNS name
  * From `*.ws.yourcustomdomain.com` to Workspace Loadbalancer DNS name

## Exposing public API

If you chose `Yes` to `Expose Gitpod webhooks and IDP services publicly?` Option in your CF template parameters, then you will have a public API Gateway Created with a static DNS name, to which you will have to point a certain subdomain to. You will find the static domain in the output of your template as follows:

<Frame caption="Instance Configuration">
  <img src="https://mintcdn.com/gitpod-13c83c2b/1T56zcBWQ3jfH-V2/images/enterprise/instance-output-api-gw.png?fit=max&auto=format&n=1T56zcBWQ3jfH-V2&q=85&s=f52e9d58572d724f4ed894207db83e68" width="2773" height="908" data-path="images/enterprise/instance-output-api-gw.png" />
</Frame>

You can now go ahead and complete the DNS configuration for API Gateway as follows:

* Navigate to the DNS zone that controls your domain.
* Add a record the following CNAME records:
  * From `services.yourcustomdomain.com` to API Gateway DNS name
  * From `yourcustomdomain.com` to Meta Loadbalancer DNS name
  * From `*.yourcustomdomain.com` to Meta Loadbalancer DNS name
  * From `*.ws.yourcustomdomain.com` to Workspace Loadbalancer DNS name

That should be it!
