LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-25-2010, 04:42 PM   #1
casperdaghost
Member
 
Registered: Aug 2009
Posts: 346

Rep: Reputation: 16
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.
 
Old 03-25-2010, 05:24 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
1 members found this post helpful.
Old 03-25-2010, 05:36 PM   #3
casperdaghost
Member
 
Registered: Aug 2009
Posts: 346

Original Poster
Rep: Reputation: 16
hey that works, and it was easy - thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set the home page for website visitors on a fedora 8 server? entsoft Linux - Newbie 2 05-04-2009 07:20 PM
My website home page php file was changed mohtasham1983 Linux - Security 4 04-22-2009 05:12 PM
lost start page (home page?) multiplaone Linux - Newbie 1 05-29-2005 06:10 PM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration