Changing your default homepage
Posted in Programming, Websites on April 23rd, 2009 by Jason – Be the first to commentThere is a quick and simple way that you can change the default page that is loaded when you open up a website. For almost every server, the default value is to first look for the index file. On my server it will first look for an index.php file, if that is not found, it will then look for the index.html file and if neither are found, it will just say page cannot be found, or something to that effect.
If you want to change those settings, your can do it with the server files… or a much easier way, especially for a temp page during website construction is to define the default file within the .htaccess file.
Working with the .htaccess file can be tricky at times, depending on what you are wanting to accomplish, but luckily changing the default start page is simple. First you will need to create a .htaccess file within the root directory of you website. Likewise you can create one inside subfolders, and change the default page for a subfolder as well.
Once you have your file created, you must add the following code.
DirectoryIndex filename.html index.cgi index.pl default.htm
Within this code is where you can specify what you want the default page to be. If you only want one option, just specify one file. If you want multiple options as listed, this will first check for the “filename.html” and if not found it will then check the next file “index.cgi” and so on. Upload that .htaccess file to your server and your in business.
I should clarify that this is for a server with an apache web server, usually that is a linux server.

With iTunes this is made easy. After connecting my iPod and opening iTunes to my iPod menu, I told it to restore my iPod. It prompted me to back it up, which I did, and later asked if I wanted to restore it to a back up or just its factory default. I selected to restore to a back up. I left the computer and came back a couple hours later to see that the update and backup was done, and it was running lightning fast…. or just a lot faster. There was a noticable difference in speed of the mail application even from when I first purchased the iPod and it has continued to do well. Although my iPod was up to date, I think doing a clean restore to back up really helped resolve any issues that it had.

