LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux website configuration - home page (http://www.linuxquestions.org/questions/linux-newbie-8/linux-website-configuration-home-page-797881/)

casperdaghost 03-25-2010 04:42 PM

linux website configuration - home page
 
Lets just say I created a website called bizzbop.com
I can ftp in to the website from the linux shell - the file structure and commands are similar to Linux, I figured out how to ftp put files up to the site, how to rename them to get them in different directories.

However my problem is a simple one - fundamental and simple.
The HTML file that I uploaded to bizzbop.com is called boom.htm
When I go to bizzbop.com, I see the standard page that the isp shows for pages that are underconstruction. When I migrate to bizzbop.com/boom.htm, my page shows up without error.
How do I get bizzbop.com to show boom.htm when I first log it. I want the boom.htm html code to be the homepage for bizzbop.com.

I want to see the boom.htm information when I log into bizzbop.com, without migrating to bizzbop.com/boom.htm. How do I configure the homepage?

I saw a tutorial that said to make a page called "index" but again I don't want to go to bizzbop.com/index to view the info. I want to just go to bizzbop.com.

bathory 03-25-2010 05:24 PM

Hi,

When you visit a site, like bizzbop.com, the webserver looks for a page named index.htm (or index.html) to show as default page.
So what you can do is to rename (or delete) the existing index.htm(l) that shows "Under construction" and rename boom.htm to index.htm.
Or if the webserver is apache you can upload a .htaccess file containing:
Code:

DirectoryIndex boom.htm index.htm index.html
Regards

casperdaghost 03-25-2010 05:36 PM

hey that works, and it was easy - thanks.


All times are GMT -5. The time now is 08:24 AM.