Reply To: Grails + rewrite

Splash Forums Rewrite Users Grails + rewrite Reply To: Grails + rewrite

#27543

arcturus
Participant

Hi, thanks a lot for answering my question.

i’m not gonna change the whole hostname. i’m trying to keep the same domain whenever the subdomains changes.

let says that i have a website with dns : http://www.domain.com and some subdomains like http://www.sub1.domain.com, sub2.domain.com etc …

i would like so to stay always in http://www.domain.com whenever i change the subdomains

i need something like : wwww.{sub}.domain.com appears as http://www.domain.com

PS: can this post in stackoverflow answered by Mr @lincoln helps me in my case ?
have a look at it : http://stackoverflow.com/questions/27610925/ocpsoft-rewrite-jsf-subdomain