-
What is .htaccess? I've seen it in regards to wordpress sites
-
I'm looking to create an 301 redirect on a subdomain in order to retain the original URL while ensuring continuation of the service on its new domain. So Surfer is just the means to this end, really. Perhaps a URL management app would be the ultimate tool here. Or a layer of it in Cloudron itself?
-
I think https://cloudron.io/documentation/apps/#setting-up-redirections is what you are looking for then?
-
You fire up a lamp-app, enable the redirect and also create a .htaccess file like this:
echo "redirect 301 / https://yournewdomain.com/" > /app/data/public/.htaccess
This will create a redirect to your new domain.