locked
IIS installed on the server not sure what the next step is to get the web application pulished RRS feed

  • Question

  • User702049738 posted

    Hello experts;

    I was able to install and configure my IIS on the server using the following link

    https://msdn.microsoft.com/en-us/library/ms178477.aspx

    However, what should be the next step. How do I create a path which i could use to publish my application to that domain. Kindly note, i am a novice at configuring servers and creating paths to be used for publishing

    Wednesday, October 21, 2015 6:44 AM

Answers

  • User753101303 posted

    Good point. If you don't reuse the default web site you have to use https://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx (host header names).

    In short you can then have multiple DNS names pointing to a single IP/port. When a request is coming to IIS, IIS can check which host name is used (mysite.contoso.com or blogs.contoso.com or whatever.contoso.com etc...) and then select the web site with the matching configured "host header name".

    If getting too technical http://forums.iis.net/ or even a networking forum could help. Or ask your network guys for the DNS part...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 21, 2015 11:02 AM

All replies

  • User753101303 posted

    Hi,

    Try http://www.iis.net/learn/get-started/getting-started-with-iis/create-a-web-site

    And then you should be able to publish your app to the directory you configured on the server and to which your website points. You may want to try first with a very simple app.

    Another option could be to just use the default web site that were created for you when installing IIS.

    Wednesday, October 21, 2015 6:56 AM
  • User702049738 posted

    Hi;

    In the following step below

    5. In the Physical path box, type the physical path of the Web site's folder, or click the browse button (...) to browse the file system to find the folder.

    Do I have to create folder first and copy and past the contents of my website from my local machine to the server machine.

    6. also how do you determine what port to use and how do you know your publishing path or the web application path

    Wednesday, October 21, 2015 7:09 AM
  • User753101303 posted

    Yes, create a folder first. You can create the web site without any content for now (or could place a test html page or aspx script). Later you'll publish your content to this directory from VS using a network share for example (this is just one among many possibilities).

    Wednesday, October 21, 2015 7:27 AM
  • User702049738 posted

    Hi;

    I did so but i am not sure what port to use and also when i go back to my visual studio, i am not sure what full path of that folder should be (how do you determine the full path. Note** I know how to locate the path on the server)

    Wednesday, October 21, 2015 7:40 AM
  • User753101303 posted

    On the server? HTTP uses port 80.

    You could share this folder to authorized users and the network share is the name of the folder by default. So you would publish by default to \\servername\foldername. Do you have access to this network share when using Windows Explorer?

    Wednesday, October 21, 2015 8:31 AM
  • User702049738 posted

    Hi;

    i am getting the message port 80 is already being used by the default web site .

    Wednesday, October 21, 2015 8:44 AM
  • User753101303 posted

    Good point. If you don't reuse the default web site you have to use https://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx (host header names).

    In short you can then have multiple DNS names pointing to a single IP/port. When a request is coming to IIS, IIS can check which host name is used (mysite.contoso.com or blogs.contoso.com or whatever.contoso.com etc...) and then select the web site with the matching configured "host header name".

    If getting too technical http://forums.iis.net/ or even a networking forum could help. Or ask your network guys for the DNS part...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 21, 2015 11:02 AM