2 entries tagged with 'Cherokee'

How to access cherokee-admin from a remote machine

The cherokee-admin binds only to local loopback by default. There are some workarounds:


Create an SSH tunnel. This is the recommended way. In order to do so you must issue the following command:

[email protected]:~$ ssh -L 9090:localhost:9090 remote_IP

After that your terminal will be logged in the remote machine. There you can start the admin. From then on you can access this remote interface through http://localhost:9090. Every request will be forwarded to the remote IP running cherokee-admin.

The -b parameter

Launch cherokee-admin with the -b parameter in order to force it to listen to all the network interfaces.

Copy and paste

Finally you could always install cherokee on your local host, configure it there and then copy the generated cherokee.conf file to the device running the cherokee instance you wanted to set up.

How to on port redirection in Cherokee

To redirect http://a.mysite.com to http://mysite.com:8000 follow these steps in your Cherokee admin web environment:

Now the 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 mysite.com.