Host ASP.NET Project on IIS on Own Machine

2

Sirs, good afternoon.

I'm developing an ASP.NET C # application, and would like to host this application on IIS from my machine.

My machine is a windows 7, with IIS 7. My internet is not fixed IP, would have to configure the router to accept external access.

I would like to know what I should do to be able to host my project on my own machine.

Does anyone help me?

    
asked by anonymous 01.10.2015 / 19:27

1 answer

1

Not being a fixed IP, you should use a dynamic DNS service such as NO-IP or Dyn DNS . Most routers already allow you to configure one of these services directly through your built-in configuration utility. This configuration changes from router to router, but usually this simply provides your user and password so the router can tell the dynamic DNS service when there is an IP change.

In addition, on your router, you will have to open the port on which your site is running (Port Forwarding). This configuration changes from router to router as well, but you will have to tell what the IP of the machine and the internal port (on which IIS is running) and which external port (the port that the external machines on your network will use) . Another important point is on your router to leave a fixed IP tethered with the MAC Address of the IIS machine, in order to prevent DHCP from assigning a different IP to it than the one configured in Port Forwarding.

You will also have to open any port used in the Windows Firewall and / or the router if any.

    
01.10.2015 / 20:54