Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

IIS

  • 06-02-2013 04:11PM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 194 ✭✭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, Registered Users 2 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, Registered Users 2 Posts: 194 ✭✭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, Registered Users 2 Posts: 194 ✭✭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, Registered Users 2 Posts: 58 ✭✭Miley2


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


  • Advertisement
Advertisement