Railo & Resin Installation
OS X
Virtual Host Tip
Tip by Matthew Williams of geodesicgrafx.com
- Create a folder called "hosts" in the main railo directory.
- Create a folder that exactly matches the domain name you're using eg "www.mystuff.com". This means you'll also have to create a "mystuff.com" to capture those that leave off the "www" part.
- Create a host.xml file in the domain folder format it as:
<host root-directory="c:/myfolder" xmlns="http://caucho.com/ns/resin">
<host-alias>www.mystuff.com</host-alias>
<web-app id="/" root-directory="." />
</host>
Return to Installation

Categories: