# Redirect to external site without service

**URL:** <https://community.traefik.io/t/redirect-to-external-site-without-service/9984>\
**Category:** Traefik v2\
**Tags:** kubernetes-crd\
**Created:** [March 9, 2021, 6:25pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984 "2021-03-09T18:25:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnason](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/bnason/32/1089_2.png) [@bnason](https://community.traefik.io/u/bnason)\
**Post date:** [March 9, 2021, 6:25pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/1 "2021-03-09T18:25:44Z")

</div>

Is it possible to redirect '[subdomain.example.com](http://subdomain.example.com)' to '[https://thirdpartywebsite.com/foo/bar](https://thirdpartywebsite.com/foo/bar)' without having a service inside my cluster? If I specify an empty 'services' array in my IngressRoute manifest, I get the following error inside the Traefik dashboard. 'the services "default-subdomain-redirect-87gas8d7ga8sdgf@kubernetescrd" does not exist'

---

<div class="post-metadata">

**Author:** ![razr](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@razr](https://community.traefik.io/u/razr)\
**Post date:** [March 9, 2021, 7:05pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/2 "2021-03-09T19:05:06Z")

</div>

Traefik provides a special internal service for that called `noop@internal`.

Unfortunately there is not so much (actually not any) documentation on the internal services.

There is an open issue to add this to the dos: [add noop@internal in the docs · Issue #7291 · traefik/traefik · GitHub](https://github.com/traefik/traefik/issues/7291)

Best,  
razr

---

<div class="post-metadata">

**Author:** ![bnason](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/bnason/32/1089_2.png) [@bnason](https://community.traefik.io/u/bnason)\
**Post date:** [March 9, 2021, 7:30pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/3 "2021-03-09T19:30:30Z")

</div>

Thanks!

Do you know what version it was introduced in?

---

<div class="post-metadata">

**Author:** ![razr](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@razr](https://community.traefik.io/u/razr)\
**Post date:** [March 9, 2021, 8:01pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/4 "2021-03-09T20:01:41Z")

</div>

As this is the service, that is also used for redirects configured on entrypoint level, I'd assume it was introduced with 2.0.0. But this is just a guess.

There are even more of those internal services. Like you might have seen `api@internal` already, which is used for the dashboard, for example.

---

<div class="post-metadata">

**Author:** ![bnason](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/bnason/32/1089_2.png) [@bnason](https://community.traefik.io/u/bnason)\
**Post date:** [March 9, 2021, 8:21pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/5 "2021-03-09T20:21:09Z")

</div>

Hmm, looks like it's not working in my version. Looking at the repo, it seems it was introduced in this commit: [Entry point redirection and default routers configuration · traefik/traefik@a6040c6 · GitHub](https://github.com/traefik/traefik/commit/a6040c623bdb80cd53a28b5f9545c6a435f460d3)

Which was released in [v2.2.0-rc1](https://github.com/traefik/traefik/releases/tag/v2.2.0-rc1)

---

<div class="post-metadata">

**Author:** ![razr](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@razr](https://community.traefik.io/u/razr)\
**Post date:** [March 9, 2021, 8:49pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/6 "2021-03-09T20:49:49Z")

</div>

Seems so, yes.

So maybe, if you still use an older version, you need to configure the `noop` service yourself, like shown in [Traefik v1 to v2 - Traefik | Site | v2.1](https://doc.traefik.io/traefik/v2.1/migration/v1-to-v2/#http-to-https-redirection-is-now-configured-on-routers)

If I understand it correctly, that service can just get some arbitrary IP and port, as traffic will never hit that host anyways.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/bd81ebdb578656e76e56ff3cc3eed021d3ba132d.png) [@system](https://community.traefik.io/u/system)\
**Post date:** [March 12, 2021, 8:50pm UTC](https://community.traefik.io/t/redirect-to-external-site-without-service/9984/7 "2021-03-12T20:50:25Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
