- 1 Overview
- 2 What features does a VPS include?
- 3 How to set up a VPS
- 4 Migrating all shared users and domains to a VPS
- 5 How to manage your VPS
- 6 See also
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 be 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
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.
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:
- Go to the (Panel > ‘VPS’ > ‘Dashboard’) page.
- 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.
- 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:
- Go to the (Panel > ‘Users’ > ‘Manage Users’) page.
- Click the Add a New User button.
- Select your VPS from the “Server” dropdown menu near the middle of the page.
- 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:
- Go to the (Panel > ‘VPS’ > ‘Admin Users’) page.
- Click the Add a New Admin User button.
- Select the VPS that you wish to add the Admin User to from the “Server” dropdown menu.
- 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.
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:
- Navigate to the (Panel > ‘VPS’ > ‘Dashboard’) page.
- Above the Add VPS button, click the link titled ‘Click here’ to move all users and domains.
- Select the desired VPS from the dropdown menu.
- Click the Move all shared users and domains button.
Your users and domains will then be migrated over to your chosen 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
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:
- Go to the (Panel > ‘VPS’ > ‘Dashboard’) page.
- To the right of your VPS, click the Configure button.
- The httpd.conf file is located in the following directory:
|Warning:||Rebooting Apache will disconnect any active connections (i.e., users, downloads, and so on). Be careful when using this command.|
To reboot Apache:
- Create a VPS Admin user by following the above instructions.
- Log into the server via SSH as the Admin User.
- Restart Apache by running the following command:
sudo /etc/init.d/httpd2 restart