IIS mount server on PC at home

10

Hello, I need to know if I have IIS configuration on a notebook, so that when this notebook is connected in the company, it works as my server, so I can access my ASP.NET MVC application through other devices ...

I want to access the site as if it were in a hosted hosting, but in that case it would be running on a notebook in my room ...

Can you do this?

    
asked by anonymous 23.11.2016 / 20:29

1 answer

17

Yes. Has as. I do not know to what extent this question is pertinent to our site, but I will explain it anyway, succinctly, in a few steps.

Installing IIS

  • Join programs and resources
  • Add features to Windows
  • Check the internet service manager checkbox and the "internal" options you want

Allow external access

Having IIS installed, it is necessary that your computer can be accessed externally. I will not go into detail about this, but you will need to create redirection rules on the modem / router. Basically you need to forward the requests that arrive at a certain port (usually using port 80) to the internal IP of the machine that will have the application.

In this answer you have some tips that can help.

Allow access to the firewall

Another necessary thing is to allow your computer to be accessed by other machines, releasing in firewalls, antivirus and the like. Also I will not go into detail, because every application has a different way of handling it.

Having a fixed IP

You will also need to have a fixed external IP pointing to your network. This service can be contracted with your broadband provider, I have no idea how the prices are. You also have the possibility to leave a service like no-IP running on the machine. With such a service, you can "map" an address to your network, even without a fixed IP. What this service does is to point this address to its external IP, it needs to always be running, because when the external IP changes, the service needs to update that.

After doing these settings, you only have to publish the application normally in IIS and access it by the browser using the fixed IP or the address provided by the DNS services.

    
23.11.2016 / 20:57