publishing asp.net application to the internet

前端 未结 3 635
[愿得一人]
[愿得一人] 2020-12-07 06:07

i have a web app that runs locally on our network. the way users access it is by going to myserver:80/site/default.aspx

i reconfigured the settings to

3条回答
  •  一向
    一向 (楼主)
    2020-12-07 06:49

    You need to edit the host header bindings in IIS for your website.

    If you are really on IIS 5.1 (which ONLY shipped with Windows XP Pro) then do the following:

    1. Open your IIS Manager (go to start > run > inetmgr).
    2. Expand the computer name.
    3. Expand websites.
    4. Right click on the site name
    5. Go to the Website tab
    6. Click on the Advanced button
    7. In the "multiple identities for this web site" click the Add button
    8. Set the IP address. Leave the Host Header Value blank
    9. Click Ok

    At this point there should be 2 identities listed. One that maps the DNS name to the IP address and another that only has the IP address.

    IF for some reason it warns you about duplicate bindings, go to the other sites and remove any that tie the IP address to a blank host header. Then come back to this site and set up the blank configuration.

提交回复
热议问题