# How do I change the base URL?

**URL:** <https://forum.gitea.com/t/how-do-i-change-the-base-url/2367>\
**Category:** Install/Maintain/Configure\
**Created:** [August 2, 2020, 7:33am UTC](https://forum.gitea.com/t/how-do-i-change-the-base-url/2367 "2020-08-02T07:33:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markhorrocks](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@markhorrocks](https://forum.gitea.com/u/markhorrocks)\
**Post date:** [August 2, 2020, 7:33am UTC](https://forum.gitea.com/t/how-do-i-change-the-base-url/2367/1 "2020-08-02T07:33:20Z")

</div>

I have installed Gitea on kubernetes and left the default host URL as [http://localhost:3000/](http://localhost:3000/) How can I now change this URL to my domain? I am using SQLite in a persistent AWS EBS volume. Can anyone confirm that both the SQLite based config data and the repo data are all stored on the data volume under /data?

I am running Gitea under a test domain and will change the domain to a production but I want to keep the repo data intact.

---

<div class="post-metadata">

**Author:** ![kpfleming](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kpfleming](https://forum.gitea.com/u/kpfleming)\
**Post date:** [August 2, 2020, 11:42am UTC](https://forum.gitea.com/t/how-do-i-change-the-base-url/2367/2 "2020-08-02T11:42:08Z")

</div>

Providing access through another hostname must be done outside of Gitea; it isn’t involved in host naming or routing requests from clients to the server. You’ll need to setup some sort of proxy (in Kubernetes-land it would be an ‘ingress proxy’) listening on one or more IP addresses that you can put into DNS with the hostname you wish to use.
