I'm assuming you mean reverse proxying. That is, all requests to
machine.domain.com are internally proxied to www.domain.com:4433. First add
an information source for your proxy target (that is, where connections
will be proxied to). Click "Sources" in cherokee-admin, and add a new
source. "nick" can be whatever you want, and "connection" should be where
you're proxying to. In your example, that'd be www.domain.com:4433

Then, create a new vServer for your domain (like machine.domain.com in your
example), and delete all the standard rules. Then change the default rule
to use the HTTP reverse proxy handler. For "Back-end servers - Balancer",
choose "Round-robin", and add the information source you created above.

That's the basics of it. Cherokee can also do fancy things like round-robin
or failover routing to multiple different servers, and can also add
additional headers either in the request or the response.

In case I've gotten this all wrong and you just mean simple redirection,
that's even easier. When you add a new virtual server, select Tasks ->
Virtual Server Redirection as the type of vServer to create.

Hope this helps!

2011/11/18 Juan Luis Pérez Pérez <[email protected]>

> Hi, I've been using Cherokee for my blog since december 2006. It've always
> covered my expectations. Now, my first question on this list. Is there a
> way using cherokee to redirect machine.domain.com to for example
> www.domain.com:4433 ?
>
> I tried with http proxy and redirection, but I didn't figure it out how
> this works. I also read docs in cherokee-project.com...
>
> Thanks!
>
> --
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>
>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to