Any way to redirect to a subdominant?
CiaranPearse opened this issue · 1 comments
CiaranPearse commented
Is there any way to redirect users to a subdomain when maintenance is on? Let's say instead of a maintainance page they could be redirected to signup.xxxxxxxx.com.
It would be very useful to get a prod env working correctly before allowing access to it.
Great gem btw :)
adamcrown commented
The easiest way would be to setup a meta redirect. Just create your own public/maintenance.html
file and add something like this inside the <head>
tag.
<meta http-equiv="refresh" content="0; url=http://example.com/" />