How to on port redirection in Cherokee
Thursday, 30th December 2010, 1242hrs
http://mysite.com:8000 follow these steps in your Cherokee admin web environment:
First go to the vServers tab and create a virtual server with name
a.mysite.comand give it a document root, e.g.
Then link to the sources tab and create a new information source by clicking the 'plus' icon. Enter
a.mysite.comas nick and
Go back to the vServers tab. After making sure that the
a.mysite.comserver is selected check that the host match method is set to 'match nickname'.
In the behaviour tab select the default directory and in the handler tab select HTTP Reverse Proxy from the handler dropdown list. Then select Round Robin as balancer in the Back-end Server section.
In the section Assign Information Sources section select
a.mysite.comas application server.
Then save and restart Cherokee.
http://a.mysite.com will be redirected automatically to
http://mysite.com:8000. And, when your site becomes more popular, you can add more application servers to