September 25th, 2008
In a web hosting context, a default document is the file that will be served by the web server when none have been specified by the web browser. For instance, let’s take the following URL:
http://www.mywebsite.com/contact.html
In this case, I’ve requested the “contact.html” web page from the web server. But what if I had used one of these URL instead:
http://www.mywebsite.com/
or
http://www.mywebsite.com/downloads/
Well in these cases, the web server would’ve served me what is called the “default document”. Here are some examples of the most well-known default documents:
Your web server (or hosting account) can abe configured in such a way that there will be more than one default document. In this case, the web server will verify the presence of default documents in the order they have been set by the administrator.
Depending on the web server platform (IIS or Apache HTTPD for instance), there are various ways of setting the default documents but today we’ll look into a specific web host: Easy CGI Hosting.
The reason why I chose Easy CGI (review) for this tutorial is because lately I’ve installed WordPress through their InstallCentral. While the installation went without a hitch, the blog wasn’t showing up on my website. Turned out WordPress’ default document is “index.php” and my Easy CGI account wasn’t configured correctly to serve this file by default.
So assuming you’re already logged in your Easy CGI control panel, click on the IIS Administration Console icon:

Next, expand the Default Docs panel to see the current default document settings:

Now simply enter the name of the new default document in the New Filename field and hit the Add button. This will add the filename to the bottom of the list above. If you want this new filename to be the first document your web server will look for, simply select it from the list and click the Move Up button until it reaches the top.

Once you’re done, don’t forget to click the Update button the change the new configuration. And as the note says, the setting changes will take up to 2 hours to take effect.
Want to receive more tutorials like this by email? Click here to subscribe
Posted in Control Panels · Easy CGI · Tutorials | 2 Comments
2 responses so far ↓
1. Response by : jonas on Jun 25, 2009 at 2:41 pm
I was a customer with easycgi for many years (as well as a reseller), when i started receiving notices that some domains were due for renewal i did the logical thing and tried to navigate to the renewals page, but wait… it didn’t exist? they had somehow deleted that page so i notified them via email & support ticket only to have them tell me it was a fault at my end, like every single computer & browser i checked all had the same fault.
eventually they told me they would fix it and i should check back in a week (when my domains were about to expire). a week went by, i checked back, the page was up “hooray” i thought, but no. the renew button refused to function. it was there, almost like an image left to taunt me that i was about to lose my domains to the abyss. i also noticed i wasn’t able to change any DNS or other details (admin, tech contacts, etc).
i opened more support tickets & sent more emails, eventually i got my domain renewed, but boy was it a headache. i started transferring all my domains away from easycgi apart from one which had been registered less than 30 days before, i also cancelled my hosting account. keeping in mind that as soon as possible i had to transfer that last domain away – of course it slipped my mind.
little did i know, during the cancellation of my hosting/reseller account easycgi’s team had taken it upon themselves to… change all my admin/tech/contact information to something i knew nothing about. so when the domain came up for renewal again this year, guess what, i wasn’t notified and i lost my site & email for days, then was told it was my fault the info was wrong and i had to pay easycgi $170USD to get my domain back or i would lose it to the highest bidder. after THEY changed my information without my permission.
there has got to be some law against this sort of extortion, if it’s illegal for the mafia, then it should be illegal for easycgi!
if anyone wants to launch a class-action suit against easycgi, count me in. worst host in the history of the internet. NEVER use easycgi.
2. Response by : The Web Hosting Hero on Jun 26, 2009 at 10:09 am
This is why it’s a good idea to always buy your domain names from a registrar rather than from your web host.
Leave a Comment