Filed under: dreamhost

Custom Domains, Dreamhost, and Posterous

I sent this to a buddy of mine so he could set up his domain to point towards his Posterous blog, and I thought maybe someone else might benefit from it as well.

If your domain is registered through Dreamhost, this is how you set an A record towards your Posterous blog.

Go to the "Manage Domains" section of http://panel.dreamhost.com
Add the A record as shown. I used a subdomain, but you could use your primary domain name, as well.

For the subdomain, I entered "blog" in the "Name" field.
"Type" dropdown list should show "A".
"Value" should be: 184.106.20.102 
Click "Add Record Now!"

A_records_on_dreamhost

Once Dreamhost is setup, you can modify the settings for your Posterous blog to use that domain (or subdomain.)
Go to the settings for the blog you're setting up. With the new Posterous "Spaces" layout, you'd click on "Spaces" in the top menu, then click the gear icon next to the blog you want to change, then "Space Settings".

Click the "Edit" button.
Manage_my_account_-_posterous_
Mine is already linked, but you'll see where to enter the domain (or subdomain.)
0manage_my_account_-_posterous_
Once it's entered, click "Save Settings" and wait for DNS to propagate.

More information can be found on the Posterous help pages: http://help.posterous.com/setting-up-a-domain-with-a-third-party-regist

Concrete5 on Dreamhost - Site Temporarily Unavailable

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.

Media_httpmatthomcomi_biffg

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

Media_httpmatthomcomi_efeax

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

Media_httpmatthomcomi_gguxr

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.

I like testing "new" web stuff, and I'm always going through Dreamhost's "one-click-installs" to see what's there.

Yesterday, I installed the Concrete5 CMS, and was greeted with the "Site Temporarily Unavailable" page.

After much Googling, I found this page. Not specifically written about Concrete5, but the solution worked for me. Figured I'd share it just in case other people are running into the same issue.