From DreamHost
Jump to: navigation, search


DreamHost Shared, VPS, Dedicated, and DreamPress are four hosting services available for your website.

The DreamHost Virtual Private Server (VPS) is a premium hosting solution based on Solid State Drives (SSDs.) It is available as an add-on to an existing DreamHost plan or a standalone service. DreamHost VPSs use Linux-VServer to create a "virtual machine" that protects a user's CPU and RAM resources from other users on the same physical machine.

For example, on a shared server resources are shared by other users. On a VPS, these resources are more isolated which improves performance and helps to maintain stability.

You can review pricing details for VPS plans on the DreamHost website.

This wiki provides details on how to add a:

  • VPS server
  • VPS User
  • VPS Admin User, and
  • other details for managing and using your VPS.

What features does a VPS include?

  • Protected CPU and RAM
  • Persistent processes are allowed (and are never killed)
  • Ability to alter the memory on the fly, without the need to reboot
  • Ability to reboot the server from the panel
  • Historical memory and load graphs can be viewed on the panel
  • SSD-based drives offering speeds 20x times faster than traditional SATA disk drives
  • Greater server configuration due to “Sudo” Admin user access

Persistent processes

Unlike the regular shared hosting setup, VPSs allow for persistent processes to run. Regardless of how long it takes to run these processes (web invoked, console invoked, cron, or otherwise), the processes will never be killed by the server.

Dynamic server settings adjustment

Many of the key configuration options for your VPS server are configured on the fly by our automation system to take the best advantage of your available server resources. For instance, if you have a 300MB VPS server, Apache will be configured to use a smaller amount of memory than if you had a 1000MB server. The Apache configuration is proportional to the memory allocation and is adjusted when the allocation is increased for the server.

Wildcard DNS

Please visit the Wildcard DNS wiki for instructions on how to enable this service.

How to set up a VPS

Adding a VPS

You can add a VPS on the panel:

  1. Go to the (Panel > ‘VPS’ > ‘Dashboard’) page.
    The ‘Managed VPS Hosting with SSDs’ page opens:
    01 VPS Managed VPS page.fw.png
  2. Click the blue Add VPS button near the bottom of the page.
    A window pops up and asks you to proceed with adding the VPS.
  3. Confirm by clicking the Add button.

You will receive an email after the VPS is provisioned.

Adding a VPS user

To add a new user to your VPS server:

  1. Go to the (Panel > ‘Users’ > ‘Manage Users’) page.
    02 VPS Add new user.fw.png
  2. Click the Add a New User button.
    The ‘Add a new user’ page opens:
    03 VPS Add new user details.fw.png
  3. Select your VPS from the “Server” dropdown menu near the middle of the page.
  4. Fill out the username/password details and then click the blue Add User button towards the bottom of the page.

Your new VPS user will be ready to use within 20 minutes.

Adding a VPS admin user

In addition to adding a regular user to your VPS, you can add an Admin User. The Admin User is granted sudo command line access which allows you to install custom applications or make adjustments to your VPS.

To set up an Admin User for a VPS:

  1. Go to the (Panel > ‘VPS’ > ‘Admin Users’) page.
    04 VPS Add new admin user.fw.png
  2. Click the Add a New Admin User button.
    The ‘Add a new admin user’ page opens:
    05 VPS Add new admin user details.fw.png
  3. Select the VPS that you wish to add the Admin User to from the “Server” dropdown menu.
  4. Fill in username/password details, and then check the box to agree to the terms of use.
  5. Click the blue Add Admin User button at the bottom of the page

Your new Admin User will then be ready to use in a few minutes.

Migrating all shared users and domains to a VPS

If you did not select the option to move your sites and users to the VPS when ordering, you can still move them at a later time.

To migrate your sites and users:

  1. Navigate to the (Panel > ‘VPS’ > ‘Dashboard’) page.
    06 VPS Migrate User Link.fw.png
  2. Above the Add VPS button, click the link titled ‘Click here’ to move all users and domains.
    07 VPS Move shared domains.fw.png
  3. Select the desired VPS from the dropdown menu.
  4. Click the Move all shared users and domains button.

Your users and domains will then be migrated over to your chosen VPS.

Moving specific domains from Shared to VPS

Please visit the following wiki for information on moving domains from shared servers to a VPS:

How to manage your VPS

The following sections help you manage various aspects of your private server.

Accessing your server before you move a domain

If you want to access the server to perform configuration before you move your domain over, you can use the following form of a hostname in your FTP client (NOT in http):


where psXXXXX is the hostname of your VPS.

If you enter ftp://psXXXXX.dreamhostps.com in a web browser, it would work; but http://psXXXXX.dreamhostps.com does not work. This is because http and FTP requests are handled differently: for http requests, the server shares ip addresses among domains, whereas for FTP requests, the server only needs the FTP username/password to know what content is in scope for its response.

In an FTP application, the server name, psXXXXX.dreamhostps.com, is adequate as a hostname for the same reasons.

Editing the httpd.conf file

Important icon.png Important:
  • Only edit this file if you're sure you know what you're doing. Always backup the current file before making any adjustments.
  • If you have made customizations to your VPS and it’s not functioning properly, DreamHost support may not be able to assist.

You must have an admin user to modify this file. Changes to this file will automatically get reverted if the web server service is set to DreamHost Managed.

To confirm if the server is DreamHost Managed:

  1. Go to the (Panel > ‘VPS’ > ‘Dashboard’) page.
  2. To the right of your VPS, click the Configure button.
    The httpd.conf file is located in the following directory:

Rebooting Apache

Important icon.png Warning: Rebooting Apache will disconnect any active connections (i.e., users, downloads, and so on). Be careful when using this command.

To reboot Apache:

  1. Create a VPS Admin user by following the above instructions.
  2. Log into the server via SSH as the Admin User.
  3. Restart Apache by running the following command:
    sudo /etc/init.d/httpd2 restart 

See also