mzinn
07-19-2010, 12:29 PM
I recently set up a web server (Windows Server 2003 Enterprise) and I put up my web site, but I have one problem. When I input my URL into the address bar of Internet Explorer and hit enter, I am taken to an index page. If I add /index.html to the address, my home page comes up. How do I get my home page to display by simply entering the URL without adding /index.html?
Much thanks in advance!
Mark Z
SI_Support
07-19-2010, 12:55 PM
Hello. the next steps should help you.
# On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
# In the Connections pane, expand the server name, expand Sites, and then navigate to the Web site or application where you want to configure default documents.
# In the Home pane, double-click Default Document.
# In the Actions pane, click Add...
# In the Add Default Document dialog box, type the name of the default document that you want to add(index.html) in the Name box, and then click OK.
# If necessary, in the Actions pane, select a default document in the list, and then click Move Up or Move Down to define the order in which IIS should search through the default document list.
# In the Default Document alert box, click Yes to decline configuration inheritance from a parent configuration level, or click No or Cancel to cancel the change in default document order.
#If necessary, click Remove in the Actions pane to remove any file names that you do not want to use as default documents.
mzinn
07-19-2010, 03:02 PM
I was with you until you say in the home pane double click default document. There is nothing called default document.
Is this something that is in IIS when you first start it...I may have deleted it....oops...color me stupid!
Mark
mzinn
07-19-2010, 03:18 PM
OK...I figured out what you meant...I enabled default documents,I moved index.html(the home page) to the top of the list and I still don't get my home page when I type the URL into the address bar of a web-browser.
still stumped...
Mark
mzinn
07-19-2010, 05:11 PM
OK this really has me scratching my head..
If I leave off the world wide web part..just type in the domain name...It goes to my home page!
Mark
Motiv
07-19-2010, 08:18 PM
Check the host headers? Make sure domain.com and www.domain.com are both attached to your site.
http://www.visualwin.com/host-header/
mzinn
07-20-2010, 10:14 AM
Thanks Motiv!
That did the trick...I'm still learning and that was very informative.
Mark
Motiv
07-20-2010, 10:15 AM
No problem sir. Happy to help anytime.
sanseo
09-16-2010, 02:41 AM
Hi mazin, I have one recommendation here, Please mention domain name. So we can easily found out problem. and one more redirect Index file to root with 301 permanent redirect. This will helpful in so many cases..
sanseo
09-23-2010, 03:35 AM
I recently set up a web server (Windows Server 2003 Enterprise) and I put up my web site, but I have one problem. When I input my URL into the address bar of Internet Explorer and hit enter, I am taken to an index page. If I add /index.html to the address, my home page comes up. How do I get my home page to display by simply entering the URL without adding /index.html?
Much thanks in advance!
Mark Z
do two things,
define default page in IIS and make a 301( permanent redirect) it to your root.
Moses.W.
09-26-2010, 09:09 AM
I recently set up a web server (Windows Server 2003 Enterprise) and I put up my web site, but I have one problem. When I input my URL into the address bar of Internet Explorer and hit enter, I am taken to an index page. If I add /index.html to the address, my home page comes up. How do I get my home page to display by simply entering the URL without adding /index.html?
Much thanks in advance!
Mark Z
You did not mention whether you have a web hosting control panel or not. If you have a web hosting control panel, just set the default web page via control panel instead of using IIS directly for this work. Else there will be a lack of harmonization.
ITRCP
10-16-2010, 08:00 AM
Just to be care full if your hosting provider not support medium or full trust level required for your dot net application
daniel456
10-16-2010, 09:11 AM
have one recommendation here, Please mention domain name. So we can easily found out problem. and one more redirect Index file to root with 301 permanent redirect.