IIS mount server on PC at home

Asked

Viewed 1,055 times

10

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

I want to access the site as if it was a contracted hosting, but in this case it would be running on a notebook in my room...

You can do it?

1 answer

17


Yes. There is how. I don’t know to what extent this question is pertinent to our site, but I will explain it to you anyway, succinctly, in a few steps.

Install the IIS

  • Go into programs and resources
  • Add Features to Windows
  • Check the checkbox internet service manager and the "internal" options you want

Allow external access

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

In this answer there are 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 the firewalls, antivirus and the like. I won’t go into detail either, because each application has a different way of handling it.

Have a fixed IP

It will also be necessary to have an external fixed IP pointing to your network. This service can be contracted with your broadband provider, I have no idea what the prices are. It also has the possibility to leave a service as in No-IP running on the machine. With such a service, it is possible to "map" an address to your network, even without fixed IP. What this service does is point this address to your external IP, it is necessary that it always runs, because when the external IP changes, the service needs to update it.


After making these settings just publish the application normally on IIS and access through the browser using the fixed IP or the address provided by the DNS services.

  • 3

    It is also possible to host the application on several free public servers. For example at appharbor. relevant question in the SOEN. If the intention is to use only the server inside the home. The access through the name of the computer can be indicated more. This would imply that computers would be on the same network.

  • 1

    I find it unlikely that the intention is to use indoors because he mentioned that he would access the company. Anyway, worth the warning to AP. And also, the tips of lodging.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.