Reply To: Create subdomain in Rewrite? Like http://tester12345.domain.com

Splash Forums Rewrite Users Create subdomain in Rewrite? Like http://tester12345.domain.com Reply To: Create subdomain in Rewrite? Like http://tester12345.domain.com

#26679

You could read the hostname from the HttpServletRequest and simply reuse the one from the original request. This should work fine and you will get different URLs in production and development.