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

#26672

vished
Participant

Thank you for your reply.
I tried something with your code but it doesn´t work.

How should looks the String newUrl ?
Currently my URL is: http://localhost:8080/my-app/

But now I want to have http://tester12345.localhost:8080/
In the production application the URL should be:
http://tester12345.mydomain.com/

tester12345 should be dynamic. This is the username which comes from the database.
Thank you for your help