How can I setup a 302 or 301 redirect from a subdomain to an external site?
-
@toxicdorito yes the alias features + htaccess rewrite using the LAMP app should solve this for you.
The LAMP app also has
multiDomain
and thus alias support. Can you double check in the Location tab of the app configure screen in your Coudron dashboard?@nebulon
This is all that I see under LAMP, All of the LAMP packages do not show alias for some reason.
-
This is also solvable with the Surfer App + aliases and some HTML+JS to redirect incoming subdomains to directory paths/pages.
@robi And see, I've done this in the past. Same with running Kutt and simply making short links using the domains needed. However, I will need LAMP for my setup.
-
@robi And see, I've done this in the past. Same with running Kutt and simply making short links using the domains needed. However, I will need LAMP for my setup.
-
I am probably missing something. Support for multi domain/aliases is already in Cloudron 7.
@toxicdorito What is the version of your Cloudron ? The latest lamp package already has support for aliases -
-
I am probably missing something. Support for multi domain/aliases is already in Cloudron 7.
@toxicdorito What is the version of your Cloudron ? The latest lamp package already has support for aliases -
@girish said in How can I setup a 302 or 301 redirect from a subdomain to an external site?:
I am probably missing something. Support for multi domain/aliases is already in Cloudron 7.
@toxicdorito What is the version of your Cloudron ? The latest lamp package already has support for aliases -
What if we want to create an alias or redirect for our dashboard domain?
I want https://my.ud.coop to redirect to https://my.uniteddiversity.coop, see https://forum.cloudron.io/post/44785