You are Browsing the November 2008 Archive:

How to Enable DreamHost Shell Access

November 28th, 2008 . by Claire

DreamHost offers shell access, but it needs to be  enabled manually for each user. Here’s how to do it. Enabling Shell Access for an Existing User Navigate to the Users – Manage Users section of the web panel. Find the user and click the Edit link next to their name. Check the Enable ssh/telnet? box for […]

How to Decompress ZIP Archives With SSH

November 27th, 2008 . by Claire

To save time on big file transfers, you can upload as a ZIP archive and decompress the file using SSH. It could save you a lot of time. Here’s how to do it. Tools and Setup Before you begin, make sure you have shell access enabled for your domain. Not all web hosting companies provide […]

Deploy Ruby on Rails with Passenger

November 26th, 2008 . by Claire

If you want to deploy and host Ruby on Rails applications with Dreamhost, you can use FastCGI. But Dreamhost also now recommends the use of Phusion Passenger. Let’s quickly look at how it works. Enabling Passenger on Dreamhost To enable Passenger, edit any of your fully hosted domains or add a new domain from the Manage […]

How to Create Custom Error Pages on DreamHost

November 25th, 2008 . by Claire

DreamHost makes it really easy to customise your website’s error pages. DreamHost servers have built-in special file names that, if present in your domain’s root directory, will load automatically when a visitor gets a particular error message on your website. You can also create custom errors via .htaccess, but this is an easier method. Understanding […]

How to Optimise phpBB on Dreamhost

November 24th, 2008 . by Claire

PhpBB is one of the most popular free message board applications, and Dreamhost offers it as a one-click install. Like other database dependent web scripts, phpBB can drain server resources on popular sites. Here are some tips to help optimise your phpBB forum on DreamHost. (In fact, most of these tips will work for anyone.) […]

A Basic Way to Prevent Hotlinking on DreamHost

November 18th, 2008 . by Claire

DreamHost makes it easy to prevent hotlinking via its web panel. But that method is only suitable for basic websites and beginner webmasters. It’s also very limited. In this article, we’ll look at some alternatives for hotlink protection on DreamHost. Note that our examples only cover lower-case file extensions for simplicity. Stop All Hotlinking The following […]

How to Prevent Hotlinking on DreamHost

November 17th, 2008 . by Claire

Hotlinking is a problem for many webmasters. It sucks bandwidth and can be an indicator of content theft. Here’s now to deal with hotlinking on DreamHost. What is Hotlinking? Hotlinking occurs when a website directly accesses, rather than links to, a file. Normally, hotlinking will result in an image file being embedded into a web […]

How to Run PHP Scripts in Your Timezone

November 14th, 2008 . by Claire

PHP scripts are a great resource – but there’s a snag. Most scripts will show your timezone incorrectly because they take the time from the server. For example, DreamHost’s servers are in the US. To display your local time, you’ll need to change your .htaccess file. How to Reset the Time Using .htaccess Consult the […]

How to Clear your Browser Cache

November 13th, 2008 . by Claire

While working on a website, you’ll often need to empty your browser cache. Otherwise you may not see the changes you’ve made. Here’s how to empty the cache in Firefox, Safari and Internet Explorer. Forcing a Reload Let’s face it: emptying the cache can be a pain. You could accidentally wipe out your saved passwords, […]

All About Using PHP on DreamHost

November 12th, 2008 . by Claire

PHP (Hypertext Preprocessor) is a common server-side scripting language. If you are working with web scripts, like WordPress, Joomla, Pligg, etc. — then your site is probably using PHP. Advanced users need to know what versions of PHP are on offer, and what modules the host supports. [Note: this article was originally published in 2008; […]

Perl Modules on DreamHost

November 10th, 2008 . by Claire

Need to see if a particular Perl module is installed on your DreamHost server? Log in to your shell account, then type the following (replacing Some::Module with the name of the module you are searching for): perl -M Some::Module -e0 To identify all of the Perl modules installed on your server, check out perldiver – […]

Accessing Website Statistics On a DreamHost Server

November 7th, 2008 . by Claire

DreamHost’s web statistics are a little bit different to other hosts’ stats. In this article, we’ll look at how these statistics can be accessed. Finding Your DreamHost Statistics Your DreamHost stats are located at (where is your own domain name). Your username is your main Web ID and can be found under Web […]

Tinderbox on Dreamhost

November 6th, 2008 . by Toni

Software developers using Dreamhost will be happy to know that although they can’t use Buildbot on a Dreamhost server (as it requires continuously running processes not allowed under Dreamhost’s shared plans), they can use Tinderbox. Tinderbox, which is Tinderbox is maintained by the Mozilla Corporation, allows developers to manage software builds and to analyze build […]