Proxy Server

On a DreamHost Virtual Private Server (VPS) or Dedicated server, you may configure a Proxy Server. You can configure it on the (Panel > 'Domains' > 'Mongrel and Proxy') page in the DreamHost panel.

Technical details

The Proxy Server feature is a reverse proxy using Apache mod_proxy.

mod_proxy forwards requests that Apache receives on to another running process through a specific port. For example, if you wish to set up Rails with Mongrel, you could have the Mongrel server running in the background and just have mod_proxy send incoming requests through Mongrel.

You can only forward requests to daemons bound to all hosts, and only on ports above 8000.

Daemon processes

A daemon process is a server process that listens for communication from remote clients. For example, the Apache Web server is a daemon that listens for TCP socket connections from Web browser client applications. Some servers, such as TeamSpeak or game servers, might also listen for UDP packets.

A DreamHost VPS (or Dedicated Server) account permits you to run daemon server processes. They are limited to the server resources (CPU/RAM) you pay for. This differs from a shared hosting plan, where these processes could adversely affect other users on the same server.

Daemon processes that bind to a port (on which they listen for incoming connections) are visible from the Internet. DreamHost does not employ any sort of firewall or port blocking on its network.

Setting up a Proxy Server Port

Enter the following values in the DreamHost panel:

  1. Launch your daemon process, bound to a port above 8000.
  2. Visit the (Panel > 'Domains' > 'Mongrel and Proxy') page.
  3. Under "Set Up A Proxy Server Port"
    • URL to set up Proxy under: Enter the portion of your domain that will have the proxied service.
    • Port Number to Proxy: Enter the port to which you bound your daemon.
  4. Click the Add Proxy Server button and wait for the change to take effect.

See also

Did this article answer your questions?

Article last updated .