Redirects for dashboard domain
-
My Cloudron dashboard is at https://my.uniteddiversity.coop
I also own https://ud.coop
I want to create a re-direct from https://my.ud.coop to https://my.uniteddiversity.coop
Is there a way to do this from within Cloudron?
Or will have have to add an entry directly to my domain registrar? (and if so, what's the best type of record to create?)
Edit: I've solved this in the short term by using surfer as described here https://forum.cloudron.io/post/19387 but it'd be nicer if I were able to simply create redirects for the dashboard domain in the same way one can for app domains (I'd rather it just silently instantly redirect like normal redirects do)
Edit 2: it sounds like I may be able to get closer to (or exactly) what I want by using this other LAMP app solution suggested in that thread:
https://forum.cloudron.io/post/32162
But I'd much rather achieve this without having to use an app to do it.
-
I will move this to feature requests, given that currently having aliases or redirects for the dashboard domain is not supported by Cloudron out of the box.
Maybe you could describe your use-case for this though, this might help us better sort out the possible solutions. I guess this is less of a technical reason but more of a user perception or convenience topic?
-
-
@nebulon said in How best to create a redirect from my.short.tld to my.long.tld:
I will move this to feature requests, given that currently having aliases or redirects for the dashboard domain is not supported by Cloudron out of the box.
Maybe you could describe your use-case for this though, this might help us better sort out the possible solutions. I guess this is less of a technical reason but more of a user perception or convenience topic?
Yes, it's just for convenience.
United Diversity is quite long to type out: uniteddiversity
And so I like to create shortlinks using our ud.coop domain too.
So yeah, it's just for the convenience of me and my users so we can get to our dashboard by only having to type my.ud.coop instead of having to type my.uniteddiversity.coop
Thanks!
-
@jdaviescoates you could just move the dashboard to the shorter one then though. https://docs.cloudron.io/domains/#dashboard-domain
-
Just to add, what I ended up doing was just using Surfer and creating an index.html file with this:
<!DOCTYPE html> <html> <head> <title>United Diversity - Together We Have Everything</title> <meta http-equiv = "refresh" content = "0; url = https://my.uniteddiversity.coop/" /> </head> <body> <p>Will redirect shortly to https://my.uniteddiversity.coop/</p> </body> </html>