# How do I change the default URL of my Okteto instance?

**URL:** <https://community.okteto.com/t/how-do-i-change-the-default-url-of-my-okteto-instance/1337>\
**Category:** How Do I?\
**Tags:** installation\
**Created:** [October 15, 2024, 9:35am UTC](https://community.okteto.com/t/how-do-i-change-the-default-url-of-my-okteto-instance/1337 "2024-10-15T09:35:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsh](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/arsh/32/421_2.png) [@arsh](https://community.okteto.com/u/arsh)\
**Post date:** [October 15, 2024, 9:35am UTC](https://community.okteto.com/t/how-do-i-change-the-default-url-of-my-okteto-instance/1337/1 "2024-10-15T09:35:09Z")

</div>

By default, the subdomain I mention in my [config.yaml](https://www.okteto.com/docs/get-started/install/google-gke/#create-the-helm-configuration-file) file for Okteto is used to create the domain for my Okteto instance. I can access my instance at `https://okteto.SUBDOMAIN`. But how do I change this to another URL?

---

<div class="post-metadata">

**Author:** ![arsh](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/arsh/32/421_2.png) [@arsh](https://community.okteto.com/u/arsh)\
**Post date:** [October 15, 2024, 9:42am UTC](https://community.okteto.com/t/how-do-i-change-the-default-url-of-my-okteto-instance/1337/2 "2024-10-15T09:42:46Z")

</div>

To change the URL where your Okteto instance is accessible to something else from the default URL of `https://okteto.SUBDOMAIN`, you can configure the [publicOverride](https://www.okteto.com/docs/self-hosted/helm-configuration/#publicoverride) property in your config.yaml.

Specify the `publicOverride: "example.com"` in your config.yaml like this, and then make sure to point the Okteto NGINX Ingress’ EXTERNAL-IP address to your DNS for the domain you have chosen to use. You can get this external IP by running the following command:

```bash
kubectl get service -l=app.kubernetes.io/name=ingress-nginx,app.kubernetes.io/component=controller --namespace=okteto

```

You also need to make sure that the certificates you issue are valid for this new domain as well.
