View Single Post
  #2 (permalink)  
Old April 11th, 2014, 03:14 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Alan,

It is indeed a bit out of scope, but in general it works like this:

1. Get a static Internet IP address. Your ISP gives you an IP address automatically, but it may change from time to time (could be days, could be months, depending on your provider). If you can't get a static IP address, you can map a domain name to an IP address using a dynamic DNS: http://en.wikipedia.org/wiki/Dynamic_DNS

2. Register a domain name and point that to your IP address

3. Configure the firewall to allow incoming traffic on port 80. You typically need so set up something like port forwarding where incoming traffic on port 80 is forwarded to the server in your network on port 80

4. Configure the firewall on your machine to allow traffic on port 80

5. Configure IIS to listen to the domain name you registered for your site.

Or: just open a cheap online hosting account and let them handle all this ;-)

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (April 11th, 2014)