Mount an html site to an iis server

0

How can I mount a folder that has html documents to an iis server? just add the site but do not let me see the page.

    
asked by matteo 04.04.2016 в 20:15
source

2 answers

1

You need to assign the virtual folder as "Web Application" and configure the Application Pool. On the other hand, enable extensions if at any time you need to upload things from ASP.NET.

If on the other hand what I say is already created, probably, if you have something occupying port 80 as the WAMP, APPSERV you will have to change the listening port.

    
answered by 04.04.2016 в 20:29
0

I can give you some tips to be able to create a site and let it work but first you must make sure of the following:

  • The port you want to use should not be in use
  • If you are mounting your server on your desktop PC to test, make sure that skype is not blocking port 80, but you can use an 8080 port to test

    How to set up your website:

  • Open IIS
  • Display the main server tree
  • Right click on sites and choose the option add new site
  • Enter a descriptive site name
  • Leave the application group named "DefaultAppPool"
  • Write the correct path to where the html are in the physical path section
  • Protocol type http
  • IP address Any you want to assign
  • Port, must be one that is not in use
  • Host name, write a fictitious web, for example misitio.com
  • Leave checked Start website immediately
  • Press accept

Open a notepad as administrator in case you are using windows and then open the following file: C: \ Windows \ System32 \ drivers \ etc \ hosts

Then in the last line you write something like the following:

{IP SELECTED FROM IIS} domain.com

Replace by the value or real IP that was added in the IIS on the site that we created dominio.com

If you follow the steps as you can do without problems.

I hope this helps you.

Greetings!

    
answered by 30.12.2016 в 02:23