How to Tell If Your Website Is Down

How to Tell If Your Website Is Down

New round here? Be sure to subscribe to our RSS feed.When troubleshooting a non-responsive website, the first thing you need to know is whether your connection’s the problem. You might find yourself asking, “Is my site down for everyone, or just me?”. Introducing http://downforeveryoneorjustme.com, a handy website that will answer the question for you. Also, take [...]

Setting up eRuby at DreamHost

Setting up eRuby at DreamHost

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?

Do You Use DreamHost’s One-Click Installs?

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

DreamHost CPU Resource Reporting

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

“What Every Webmaster Should Know About…”

“What Every Webmaster Should Know About…”

We’ve picked the brains belonging to some of the rising stars in online marketing and asked them to participate in a series of roundtable interviews. We just completed putting together their answers to our first question: “What do you know now that you wish someone had told you when you started out as a webmaster?” [...]

Using Mac/iWeb with Dreamhost

Using Mac/iWeb with Dreamhost

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

Detecting IP Abuse at DreamHost

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

How to Enable DreamHost Shell Access

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

How to Decompress ZIP Archives With SSH

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

Deploy Ruby on Rails with Passenger

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

How to Create Custom Error Pages on DreamHost

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

How to Optimise phpBB on Dreamhost

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

A Basic Way to Prevent Hotlinking on DreamHost

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

How to Prevent Hotlinking on DreamHost

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

How to Run PHP Scripts in Your Timezone

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