You are browsing the Dreamhost category:

Setting up eRuby at DreamHost

January 7th, 2009 . by Toni

Eruby is a handy way to embed Ruby in HTML. In this tutorial, we will explain how to setup Eruby for DreamHost customers (though the instructions will probably work for other hosts as well). Setting up Eruby Use SSH to copy /usr/bin/eruby, and name that file eruby.cgi. Place eruby.cgi it in the root of the [...]

Do You Use DreamHost’s One-Click Installs?

January 6th, 2009 . by Claire

According to the official DreamHost blog, one-click installers are becoming less popular at DreamHost. Dallas Kashuba explained: “The clear trend we see is a mostly upward trend with a spike in usage by accounts signed up in 2006, and then a pretty quick drop-off over the last couple of years.” Have one-click installers had their [...]

DreamHost CPU Resource Reporting

January 5th, 2009 . by Toni

When troubleshooting your website, it is useful to know how many CPU resources are being consumed by that site. If you are a webmaster like me, you are likely to use your DreamHost account to host multiple websites. One of the problems an account with many hosted domains can have is tracking down which particular [...]

Using Mac/iWeb with Dreamhost

December 2nd, 2008 . by Toni

If you have registered or host a domain with DreamHost and would like to host it with your .Mac/iWeb 08 account, you can do so using the following steps: The first step is to log into your .Mac/iWeb account page and then click the “Use personal domain” option – enter your domain name into the [...]

Detecting IP Abuse at DreamHost

December 1st, 2008 . by Claire

Repeated connection attempts by bots can be a sign of trouble ahead. On DreamHost, you can use a special shell script to pick out frequent visitors that may have malicious aims. The IP Abuse Script The script is called ip-abuse-lookup.sh; copy it from the DreamHost Wiki. It looks through the error and access logs for [...]

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 [...]

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; [...]

Dreamhost Payment Methods

November 11th, 2008 . by Claire

[Note: this article is from 2008. If you need payment information, we recommend checking with DreamHost.] DreamHost accepts a variety of payment methods. In fact, it’s probably one of the most flexible hosts I have ever encountered when it comes to billing. DreamHost accepts the following credit cards: Visa MasterCard American Express Discover Diner’s Club [...]