locked
Set up the IIS Folders RRS feed

  • Question

  • User-2139194728 posted

    I have asked this before of colleagues and the room goes silent.

    With classic ASP I have the source code for http://newreports.MyWebPage.net/MainFrame.asp

    and I want to set this up on a Developer macahing so that I can walk through the code and run the page locally.  I have VS 2005 and 2008 on my mschine.  I think I understand if it were www.MyWebPage.net/MainFrame.asp  But what do I do with the stuff before the URL?

     

    Thanks

     

    Wednesday, August 26, 2009 3:42 PM

Answers

  • User2130758966 posted

    The first part of your url is called a subdomain so "newreports" is a subdomain, "mywebpage" is the domain, "net" is the top level domain.


    If you are setting up a new website in IIS then you can type whatever you want in the host header section so you can add in a subdomain to mimick this on your dev setup.


    In reality it doesnt matter where you run it unless you have embedded the http://newreports.MyWebPage.net/ into the application, you should be using urls that are etiher relative (../../page.asp) or absolute (/page.asp)


    Another options is that you could map your HOSTS file to intercept the url newreports.MyWebPage.net and point it at your localhost.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 26, 2009 4:02 PM
  • User-2139194728 posted

     I have an answer: in this case "NewReports" would be the name of the server.

     

    Dgraham

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 26, 2009 4:07 PM

All replies

  • User2130758966 posted

    The first part of your url is called a subdomain so "newreports" is a subdomain, "mywebpage" is the domain, "net" is the top level domain.


    If you are setting up a new website in IIS then you can type whatever you want in the host header section so you can add in a subdomain to mimick this on your dev setup.


    In reality it doesnt matter where you run it unless you have embedded the http://newreports.MyWebPage.net/ into the application, you should be using urls that are etiher relative (../../page.asp) or absolute (/page.asp)


    Another options is that you could map your HOSTS file to intercept the url newreports.MyWebPage.net and point it at your localhost.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 26, 2009 4:02 PM
  • User-2139194728 posted

     I have an answer: in this case "NewReports" would be the name of the server.

     

    Dgraham

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 26, 2009 4:07 PM