# Changed Site URL - How to Redirect

**URL:** <https://community.traefik.io/t/changed-site-url-how-to-redirect/8364>\
**Category:** Traefik v2\
**Tags:** middleware, docker\
**Created:** [October 29, 2020, 1:03pm UTC](https://community.traefik.io/t/changed-site-url-how-to-redirect/8364 "2020-10-29T13:03:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indexinsights](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@indexinsights](https://community.traefik.io/u/indexinsights)\
**Post date:** [October 29, 2020, 1:03pm UTC](https://community.traefik.io/t/changed-site-url-how-to-redirect/8364/1 "2020-10-29T13:03:59Z")

</div>

Hi,

I have changed host and domain i would like to redirect all traffic on my existing Traefik docker container.

[app.domain-old.co.uk](http://app.domain-old.co.uk) to [app.domain-new.co.uk](http://app.domain-new.co.uk)

How can i do this in Traefik ?

Thanks

---

<div class="post-metadata">

**Author:** ![OuterSystems](https://avatars.discourse-cdn.com/v4/letter/o/e480ec/32.png) [@OuterSystems](https://community.traefik.io/u/OuterSystems)\
**Post date:** [October 29, 2020, 10:13pm UTC](https://community.traefik.io/t/changed-site-url-how-to-redirect/8364/2 "2020-10-29T22:13:30Z")

</div>

Like this: [https://doc.traefik.io/traefik/v2.0/middlewares/redirectregex/](https://doc.traefik.io/traefik/v2.0/middlewares/redirectregex/) 🙂
