I’ve had a free-hosted app since 2013 and there are a lot of links to it in the wild.
My stopgap solution for not breaking all these links is redeploying a simple app to the free hosting that has nothing but a redirect to the new server, preserving the URL:
REDIRECT_URL = "http://yournewdomain.com"
WebApp.connectHandlers
.use(function(req, res, next) {
res.writeHead(301, {'Location': REDIRECT_URL + req.url});
res.end();
});
This works for now but can anyone from Meteor comment on a way to achieve this once the free hosting is shut down completely?
For example, having a way to point the DNS from free-hosts to a new location?