Documentation Home

Contents

Adding New Sites to IIS7

Adding new sites to IIS consists of both adding the "jakarta" directory, and modifying Tomcat's server.xml file. The following assumes that you installed to the default directory of C:\railo\.

Create IIS Site

Open IIS and create a new site like you normally would. Note that if you are using a Control Panel, your control panel may perform this step for you.

Create "jakarta" Virtual Directory

Create a Virtual Directory in your new site called "jakarta" and point it to c:\railo\connector\. When creating the virtual directory on IIS 6, choose Read, Execute Scripts and Execute CGI/ISAPI for the connector to work properly.

Edit Tomcat "server.xml" File

Next, go your start menu and click on "Tomcat Host Config" link. This will open the Tomcat server.xml file in Notepad.

Add Host Entry

Notice the comments, and add an additional host entry accordingly.

Restart Tomcat

Next just restart the Tomcat service so your changes take effect. You can do this from the service control area or from the Tomcat Service Control start manu option.

That's all there is it!

Debugging

If you try the above, and run into problems, there are a couple places to look for pointers on what went wrong.

1) Check the catalina file (open it with Notepad)

2) The IIS Event Manager may also contain useful information.

Documentation Home