A quick Dreamhost site error fix

October 16, 2006 / Filed under: Apache, Dreamhost, Tips, Tutorials

Dreamhost is a relatively stable hosting service, but occasionally site errors will occur, for seemingly no reason at all.

There are two errors that occur quite frequently for me, and I've discovered a quick work-around to resolve the issue on my own - without having to consult Dreamhost tech support, which could take days to get resolved, when you need your site back up now.

The errors contain different "wording," but are both resolved using the same approach.

These errors are evident when you initially visit your web page. Keep in mind, other aspects of your site (FTP, databases, etc) may still be fully functional (and accessible), but visiting the page in the browser presents you with a blank screen, with one of two messages:

Site Temporarily Unavailable

We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this.

error id: "bad_httpd_conf"

... or:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@yoursite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Both of these errors messages may be present on your main page, or perhaps your entire site - but in some cases, you can still access "parts" of your site. Regardless, your site will be anything but functional, at this point.

From my experience, these error messages have something to do with the Apache configuration for your site. Either you did something manually to cause these messages, or it's on Dreamhost's end.

When it happens due to your own fault, it's typically involving an .htaccess file. You may have changed something in the .htaccess file that is causing the interruption.

When it's on Dreamhost's end, your out of luck until a Dreamhost tech support analyst can assist you.

However, I've discovered (thanks to the Dreamhost Wiki) a way to resolve this issue on my own, without Dreamhost's involvement. This is especially helpful on weekends, when your site goes down, and Dreamhost won't reply to tech support emails until Monday.

  • Log into your Dreamhost Control Panel, on the web.

  • Navigate to the Domains > Manage Domains section.

Screen shot of Dreamhost Control Panel

  • Click "Edit" under the Web Hosting column, for the domain that is not working.

Screen shot of Dreamhost Control Panel

  • Simply click the button that says: Change fully hosted settings now!

Screen shot of Dreamhost Control Panel

I've removed my username information for security purposes.

You're not actually making any changes, but you'll hit that button anyway. Essentially it may "reset" something on Dreamhost's end, which typically clears up the error.

You'll know after a few minutes if this worked. Refresh your page after a few minutes, and it should be back to normal.

You can also consult the Dreamhost Wiki for further information.

Comments/Mentions

# Alex at 7/28/2010 4:34 am cst

Thank you! Both of my DreamHost sites started working again after I clicked that button for just one of them.

# Joel at 7/19/2009 10:25 pm cst

You're a rock star, Matt. That did the trick. Thank you so much!

# Darren at 4/7/2009 8:57 am cst

Just been moved over DreamhostPS - Brilliant this worked after I did it for the second time.

# Christian Gehrke at 3/2/2009 4:11 am cst

Perfect!

Did the trick straight away.

THANKS SO MUCH!

# Kelly at 1/27/2009 6:13 pm cst

THANK YOU! You've incurred some great karma with this post.

# DerekLerner at 1/1/2009 7:28 am cst

Thanks! This worked perfectly for me.

# Wayde Christie at 12/21/2008 1:53 pm cst

You are a STAR!!! Thanks so much :)

# King at 10/29/2008 2:28 pm cst

Saved me God knows how much time!!! You're a Prince. Thanks

# ParNeix at 9/14/2008 6:35 pm cst

Worked just great. Thanks for taking the time to write this post.

# april at 3/25/2008 6:03 pm cst

thank you! this was making me crazy, and your fix worked. thank you for finding it and for posting it.

# Sean Chandler at 5/22/2007 7:47 am cst

That worked immediately - thanks for that tip - was showing my site to a potential client and it was down