icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Search Me! » [Article] You change the URL of your homepage!

Search Me! Lots of information is found in this board. You can also ask general questions here if you'd like! This is the last stop on Surmunity.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 8th, 2008, 2:08 AM   #1 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,509 posts
Gave thanks: 936
Thanked 787 times
[Article] You change the URL of your homepage!

Your home page is the first page a visitor will see when typing your domain.com into an address field, generally, this page is an index.html or index.php file, if this file does not exist your visitor will be brought to a directory listing of the files and folders in the folder they are viewing (which is normally /home/user/public_html/

Change your homepage

If you wish to change what Apache recognizes as your home page, you can modify the .htaccess file in that directory. Simply add a line with the following text:
DirectoryIndex filename.html index.cgi index.pl default.htm
The filenames after DirectoryIndex ( filename.html, index.cgi, index.pl and default.htm) are just examples. You could make your default page tralfaz.htm and it would work, AND be transparent to your endusers.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On