Using Railo and Resin with domain aliases
There are many guides out there to help you in setting up Railo with IIS. But none of the ones that I found helped you to configure domain aliases.
So I am going to give you a quick example of the way that I have used to configure my domain aliases. I'm sure there are some easier ways of doing it but this is how I did it.
There is a file called resin.conf under the conf folder in you Railo install folder. At the bottom of this file you will find a "</cluster>" tag.
Just before this you will need to add in this piece of code. The host id is the aliases, in this example allmead.com. You will then need to enter the root directory of the actual site. Then you will need to enter where the web site is.
<root-directory>C:/Inetpub/vhosts/allmead.co.uk</root-directory>
<web-app id="/" document-directory="C:/Inetpub/vhosts/allmead.co.uk/httpdocs"/>
</host>
<host id="www.allmead.com">
<root-directory>C:/Inetpub/vhosts/allmead.co.uk</root-directory>
<web-app id="/" document-directory="C:/Inetpub/vhosts/allmead.co.uk/httpdocs"/>
</host>
This is very simple to do.
Just remember you will need to restart the Railo server service after you save the file.

it's even easier if you do it this way:
<host id="allmead.com" root-directory="C:/Inetpub/vhosts/allmead.co.uk">
<host-alias>www.allmead.com</host-alias>
<web-app id="/" document-directory="httpdocs"/>
</host>
You do not need to define it twice. You can even define your hosts implicitly by using regular expressions:
<host regexp="(.+)">
<host-name>${host.regexp[1]}</host-name>
<root-directory>C:/Inetpub/vhosts/${host.regexp[1]}/webroot</root-directory>
<web-app id="/" document-directory="."/>
</host>
Hope that helps...
Greetings from Sydney (ATM)
Gert Franz
Railo Technologies
gert@getrailo.com
www.getrailo.com
I am already using
<host regexp="(.+)">
<host-name>${host.regexp[1]}</host-name>
<root-directory>C:/Inetpub/vhosts/${host.regexp[1]}/webroot</root-directory>
<web-app id="/" document-directory="."/>
</host>
to define my hosts.
But that way of defining the host alias does look easier.
http://www.wotlk-powerleveling.com http://www.uweddingdress.com wedding dresses
http://www.timberlandbootsale.co.uk
http://www.whatladybuys.com
http://www.whatladybuys.com
http://www.whatladybuys.com
http://www.whatladybuys.com
Nike air max 2010,air max 2009,air max shoes on sale.Buy nike air max shoes on http://www.nikeairmax-1.com low at $62,especially [url=http://www.nikeairmax-1.com/]air max 2010[/url],[url=http://www.nikeairmax-1.com/]air max 2009[/url],BOSE products include BOSE headphones,BOSE mobile in-ear, Bose earphones headphones [url=http://www.headphoneonsales.com/]cheap bose headphones[/url][url=http://www.headphoneonsales.com/]bose headphones[/url]
http://www.coachhandbags-onsale.us/coach" target="_blank">http://www.coachhandbags-onsale.us/coach
http://www.nikeairmax-1.com/nike" target="_blank">http://www.nikeairmax-1.com/nike