#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    335
    Rep Power
    246

    IIS7 Host Headers not working?


    Hi,

    I have migrated our classic ASP site to IIS7 Windows 2008.

    I added domain.com works fine, then added another binding www.domain.com , so far so good, 'browse' from the right hand menu works fine.

    I then added another binding test.domain.com, it refuses to work?

    I just get 404 - File or directory not found. ?

    Why, there is no different between www and test they are both sub domains added as hosts in the same way using the bindings option.

    So why won't additonal bindings work for a website that is working?

    EDIT -> OK the host company sent me on a bum steer, it isn't working at all, i thought the right hand browse was viewing internal website, it isn't so of course the www and non-www is working, DNS still points to old server.

    So basially IIS7 is refusing to run anything with any extension other than HTML?

    Cheers,
    1DMF
    Last edited by 1DMF; May 24th, 2012 at 07:55 AM.
    Free MP3 Dance Music Downloads

    To err is human; To really balls things up you need Microsoft!
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    335
    Rep Power
    246
    OK, we fixed it!
    you have to go to

    add/remove programs
    turn windows features on or off
    Roles
    Add roles
    IIS

    then tick ASP (and CGI if you need common gateway interface)

    what a palaver!
    Free MP3 Dance Music Downloads

    To err is human; To really balls things up you need Microsoft!
  4. #3
  5. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,441
    Rep Power
    4539
    Thank you for posting the updated information!
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo