Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

IIS

Options
  • 06-02-2013 4:11pm
    #1
    Registered Users Posts: 58 ✭✭


    hi
    I have Windows 2008 R2 with IIS running. I have installed a new app witha web interface
    When I type in http://severname/directory/defaultapp.aspx I have no problems.
    However I want to set IIS so that if I type in the server name in the browser defaultapp.aspx.

    I have opened IIS and clicked the server name and opened Default Documents. I have added in defaultapp.aspx but still not working.

    I am sure it is something simple but dont have too much experience with IIS


Comments

  • Registered Users Posts: 193 ✭✭kaisersoze


    There is two aspects to this.

    1. Default directory must be set so that if you put in the IP address i.e. http://IP_ADDRESS it will bring to the correct desired default page
    In IIS that means the server is listening on port 80
    If you have installed a 3rd party app, they both can't be on port 80. so you need to resolve this first

    2. http://SOME_NAME

    This must be configured in your DNS to map the name to the server IP address


  • Registered Users Posts: 58 ✭✭Miley2


    Step 2 is what I am leading too.

    When I put in the IP address now, I just get" Server Error in '/' Application."


  • Registered Users Posts: 193 ✭✭kaisersoze


    I would suggest stopping the services of the 3rd party app and try again

    Also within IIS manager make sure there is a file default.asp or index.htm(l) or whatever.

    If that works, you may have conflicting ports.

    Try this..

    1. Stop services of 3rd party app
    2. Create a file in notepad index.html and put it in the default www directory
    3. Restart IIS or from cmd prompt do an iisreset
    4. http://IP_Address

    If that works, you know the IIS is working and you have a baseline

    Then to get a 3rd party app working, you may need to review the application pool settings etc or change the default listener to 8080 just for test purposes.

    Hope this helps.


  • Registered Users Posts: 193 ✭✭kaisersoze


    Miley, pictures speak a thousand words :-)

    As per attached image...If the files dont exist, i.e. index.html or default.aspx you will get problems also.


  • Registered Users Posts: 58 ✭✭Miley2


    Thanks Kaiser, sorted now. I had the physical path wrong for the default site


  • Advertisement
Advertisement