Add support for redirects in the Domain create form (www → non-www)
What problem will this feature address?
Right now, Dokploy allows adding multiple domains to an application, but there is no way to configure a redirect between domains, such as forcing:
www.example.com → https://example.com or
example.com → https://www.example.com
This causes several problems:
SEO duplicate content
Split ranking signals across multiple URLs
Redirect checker warnings
Users reaching two separate versions of the same site
Inconsistent canonical URL behavior
Since DNS cannot perform HTTP redirects, the only correct place to configure this is at the application level — but the current Domain UI does not offer it.
This becomes frustrating when setting up production websites on Dokploy and discovering that proper domain canonicalization is not possible without editing Caddy config manually (which Dokploy overwrites).
Describe the solution you'd like
Adding a select UI element to select witch domain you want to direct to or a simple text input
Describe alternatives you've considered
DNS CNAME → Not viable because it does NOT perform HTTP redirects and does not change the URL in the browser. you can obviosly add a traefik rule to the global config file. but its better to have something related to each service container instead you may remove that service and forget to remove that traefik rule from the global config
Additional context
No response
Will you send a PR to implement it?
No
The ability to redirect from old-site.com -> new-site.com would also be great.
yes it should be flexible where you can specify these easily