IIS 6.0 : host header not being recognised - default website displayed instead

Posted on 2007-07-23
Last Modified: 2012-05-05
I have SBS 2003 SP1
IIS 6.0
I have created a new website (SharePoint 3) and it appears in IIS
I've created an entry at my ISP of and pointed it to my public IP
My router forwards all port 80 traffic on to (my SBS box)
in IIS I've added a host header value of and an SSL port of 10444 (http port is 80)
However, when I type I get a 403.6 error, becuase I'm being directed to the default website which has all but and denied.
Therefore looks like the host header value is being ignored.
What am I doing wrong?

Question by:ComputerFundi
    LVL 18

    Expert Comment


    Author Comment

    that gives me a 404 - page not found
    LVL 2

    Expert Comment

    Try running the excluder utility on the server:

    "C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\stsadm.exe" -o addpath -url -type exclusion

    The same functionality can be done in the SharePoint Central Administration by excluding the path.

    Accepted Solution

    This question is being closed ... transferred question to previous associated question here ...
    LVL 2

    Expert Comment

    SSL has to run under port 443, and to accomplish this onto a SharePoint site you have to do a few things:

    When you create the Web Application, you have to assign a host header, tell it to use port 443, and use SSL.  If you didn't do that before, you can delete the existing Web App, but leave the Content Database.  You can re-create a Web App and point it to that same Content DB and you'll be fine - it will not overwrite the content with new content.

    When it completes, insert the certificate into the Web App under the Directory Security tab of the Web Application's properties in IIS, tell it to "Require secure channel (SSL)" and "Require 128-bit encryption".  You have to put in a host header into the Web Application's "Web Site" tab, Advanced button section.  Edit the port 80 instance (trust me) and add the name of your host header you put in the Web App config from within SharePoint when you were creating the Web App.

    After you've clicked all of your OKs, go to the "Web Sites" folder in the directory structure of IIS.  Find the identification number of your web app.

    Open a command window.  Navigate to C:\inetpub\AdminScripts.  Type this:

    cscript.exe adsutil.vbs set /w3svc/ID_number_you_were_supposed_to_find/SecureBindings ""

    but, of course, replace the applicable stuff.

    You should be good after all that.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
    Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now