Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to another domain #1567

Open
AurimasNav opened this issue Aug 4, 2023 · 1 comment
Open

Redirect to another domain #1567

AurimasNav opened this issue Aug 4, 2023 · 1 comment
Labels
help wanted Come contribute!

Comments

@AurimasNav
Copy link

AurimasNav commented Aug 4, 2023

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

We have migrated to new domain new.domain.com and need to redirect all the users that still use old.domain.com to this new address.

Describe the solution you'd like
In application gateway it seems to be doable with redirect routing rule from listener to external site or to another listener, I can't see a way to do it with existing annotations.
I guess we would need a CR to create custom routing rule, and then use that with annotation.
Maybe it is possible with rewrite rules, but I don't see how as it only seems to rewrite url paths and queries, but not the hostname.

edit: might be related or even duplicate of #534

@myspaka
Copy link

myspaka commented May 24, 2024

We also often have the Situation, that we need to redirect www.domain.com to domain.com. That sould be possible with annotations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Come contribute!
Projects
None yet
Development

No branches or pull requests

3 participants