...

View Full Version : Website lost default page...



ls6v
11-21-2005, 07:31 PM
Hi,

We got rid of our old site that was developed with fronpage and replaced it with a new site. The new site doesn't use anything from front page so we deleted moved the old files off of the server. Now when we type our normal URL it says it can't find any pages but we have index.html in the web folder. Do we need to create a special file within the web folder to tell the server to point to the index.html file when the default URL is typed?

We're using XO xommunications for hosting.

Thanks,

ls6v

QBall777
11-21-2005, 07:42 PM
Was your old page called index.html?

Make sure your new page is not in a sub folder i.e. HTML - index.html

ls6v
11-21-2005, 07:45 PM
Was your old page called index.html?

Make sure your new page is not in a sub folder i.e. HTML - index.html
The old page was index.html and the new page is in the web directory, not a sub directory within the web directory.

I just turend off front page extensions for the web hosting but the site still doesn't point to index.html by default.

QBall777
11-21-2005, 07:54 PM
The first thing to do is type the whole url into the browser i.e

http://www.yoursite.com/index.html/

This will make sure the page really is there.

ls6v
11-21-2005, 08:01 PM
The first thing to do is type the whole url into the browser i.e

http://www.yoursite.com/index.html/

This will make sure the page really is there.
I did and it works.

ls6v
11-21-2005, 08:04 PM
here's the site:
http://www.hillcadillac.com/index.html

if you type www.hillcadillac.com it tries to load the old frame pages from the Frontpage website. I disabled frontpage from my admin page and cleared or reset everything I could find.

The new site looks a lot better unfortunately no one will know to go to index.html. ( It uses css , iFrames and JS -- no tables)

SteelValor
11-21-2005, 08:04 PM
Next thing is to add index.html to the default documents in IIS for that website and make sure that the home directory is pointing to the directory with the index.html file.

:D

ls6v
11-21-2005, 08:09 PM
Next thing is to add index.html to the default documents in IIS for that website and make sure that the home directory is pointing to the directory with the index.html file.

:D
in IIS ? is that internet information server? I've seen it somewhere before but I have no clue on how to do what you just suggested. :confused:

How do I use IIS? XO has a admin login but I couldn't find a place to set default documents.

QBall777
11-21-2005, 08:11 PM
I think you need to get in touch with your host. The only time you need to insert a redirect page is when the index page or default page is in a subfolder.

<%
Response.Redirect("html/index.asp")
%>

Your host should be able to correct this problem straight away.

SteelValor
11-21-2005, 08:12 PM
go to Start\Programs\Administrative Tools\Internet Information Services

Then expand the folders til you find your website in the left panel. Right Click and select properties. Home Directory is where you assign the directory to use for the website and Documents if where you assign the default document.

:)

SteelValor
11-21-2005, 08:16 PM
Here's some homework

http://www.windowsecurity.com/ & http://www.windowsecurity.com/
http://www.iisfaq.com/
http://www.iisanswers.com/IISFAQ.htm
http://www.iis-resources.com/modules/wfsection/

ls6v
11-21-2005, 08:25 PM
Here's some homework

http://www.windowsecurity.com/ & http://www.windowsecurity.com/
http://www.iisfaq.com/
http://www.iisanswers.com/IISFAQ.htm
http://www.iis-resources.com/modules/wfsection/

Thanks for the sources. I just read some stuff about it from google and apparently my approach to web development could be bad. IIS is to simulate it on my local machine, right? Instead of posting it to the main server in order to reduce the likely hood of a crash on the important box?

I'll set up IIS on my local XP pro machine and do future development there. For now I'm going to give XO a call and ask them why they're server isn't automatically picking up my index.html page.

I'll let you guys know how things turn out.

ls6v
11-21-2005, 08:41 PM
Figured it out. :rolleyes:

Piece of junk had some kind of terminate and stay resident type of memory. I deleted everything from the /web directory and uploaded my new files again. It's working perfectly now and I didn't have to sit on hold for 20 minutes, and then try everything I did all over again.

I'll still use IIS because it looks cool and I have a copy of sql server 2005? at home. Not that I need that but it's more powerful than IIS in XP Pro.

Thanks again,
-ls6v



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum