Creating a custom "error page" for "" HTTP requests?

I have a recurring problem with clients whom I send FTP account login info to not understanding the difference between FTP and HTTP.

So when I tell them to login to an FTP account I made for them on my Dreamhost account, using “” or “” as the server name, many of them will think I’m giving them a password-protected web url, and try to connect to the FTP account using a web-browser…which obviously does not work.

Right now, when you try and connect to “” in a web browser, it returns an error page that says:

"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”"[/quote]

This, needless to say, is not very helpful to the average uninformed web-civilian.

Is there a way I can create a customized error page that will display if someone tries to connect to “” in a web browser (much like custom 404 pages)? My first inclination was to setup a redirect for the “ftp” subdomain, but the control panel will not allow me to do such a thing, since it’s obviously a reserved subdomain.

But since there is no reason why I (or anyone else) would need to connect to “” from a web browser, I would like to be able to display a page explaining that this domain is for FTP requests only, is NOT a “web site”, and then point to download links to popular FTP clients that the person can download.

Is this possible on Dreamhost?

You could provide a custom error page e.g. stating whatever you need and add the following lines to your .htaccess file:

404 error

ErrorDocument 404

On the other hand I fail to see why you would want to provide ftp access to someone who is incapable of understanding the difference between ftp and http.


I already mentioned in my post that I am already aware of how to create custom 404 pages via htaccess.

But in this case, I want to simply redirect any HTTP request specifically for “” to an error page, much like you would do for a regular 404. I already have a custom 404 page configured for the rest of my site. I only want this particular subdomain to redirect to a different error page. But unless im missing something, it does not appear that I can do this for a “reserved” subdomain like “ftp.”

Although it’s totally irrelevant to my original question, if you really must know, the reason I need to use FTP is because in the industry I’m in (video postproduction), FTP is the defacto standard for transferring large video files for client approval or for pickup by broadcasters. But oftentimes, I am instructed to send notification links to people in the chain who are “assistants” to the people who do know how to properly use FTP, but unfortunately dont know any better.