How do I access my website (IIS) from the internet?


I have installed IIS. I have browsed to my website on IIS using the 'Browse *:80 (http)' link in IIS. This navigates to http://localhost. That link is only going to work on my own machine.

I don't care about my IP address changing (I'm going to show my website for a few hours max every now and then so can update it and resend the link as and when required).

How do I make my website accessible to the internet? What url should I use (where is the IP of my computer)? Do I need to disable firewalls / add exceptions to my modem / router?

2 Answers: 

You have to make sure that your broadband provider has given you a static IP (there is sometimes an extra charge for this). Otherwise, you will be assigned a new IP every time you connect to the internet.

If your ISP modem is connected to a router first and then to the computer, you have to log in to your router settings and forward incoming http requests. This is usually done by putting a forwarding rule for incoming TCP connections on port 80. You have to forward these connections to port 80 on your computer. If you also want to support https, you have to forward port 443.


Yes, actually you can. If you are connected to the internet directly (meaning no router in the middle doing NAT) you can just use your public IP and make sure your firewall rules allow that traffic to pass.

If you are behind a router then you'll have to probably write forwarding rules to your machine in your LAN. Additionally, if you don't want to be worrying about IPs then you can use No-IP and the like.


More Articles

javascript - jQuery .load: any way to load the same page when page is refreshed

So I have a website that loads pages to a container div:function goto(addr) { $("#content").load(addr);}and a link that executes it<a href="#" id="aboutus" onclick="goto('page/aboutus.php');">About us</a>My problem is that whenever the page is refreshed, the loaded content resets to t

cookies - PHP Unique Computer ID

Is it possible for php(or javascript in the worst case) to create a unique id for a user that is not cookie or ip dependant. I have seen on that on each city the count only goes up once a day(it has a unique id for everyone i think) and even if I delete my cookies and refresh ip it st

c# - Regular expression to match a string that contains only numbers, not letters

My code is currently using the following Regex expression which matches on numbers:Regex numberExpression = new Regex(@"(?<Number>\d+)");This current works fine for input strings like "1", "100", "1a", "a1", etc....But I want to change it so it does NOT match when the input string contains a l

Dose google play count insalls out of itself downloads?

I recently published my app in google play . The question is how google play show counts ?1 - All device that have google play installed and my apps too , total count of my apps install will show in play store .2 - Just all downloads that directly are downloaded from google play will be count .

apache spark - Scala - How to iterate over tuples on RDD?

I have an RDD that contains tuples like this (A, List(2,5,6,7)) (B, List(2,8,9,10))and I would like to get the index of the first element where a specific condition between value and index holds. So far I have tried this on a single tuple test and it works fine:test._2.zipWithIndex.indexWhere

plone - How can I get rid of spam users

The company I work for have a small Plone blog. But we have a problem with spam accounts. We use captcha on the site and Plone sends a mail to the users that they must confirm before they can edit the user profile. Still about 600 spam users are created every day. In the Plone user profile they past

python - sklearn.KNeighborsClassifier gives very low accuracy score

I am new to machine learning.I created a data, random numbers in two sets. I am trying how to find a sample, however when doing following, I receive very low accuracy score:from random import randint as Rfrom matplotlib import pyplot as pltimport numpy as npfrom sklearn.neighbors import KNeighborsCl

Scala Collection in JSF

I have developed a Scala and JSF application for learning purpose. In this app I have to convert all my Scala collection objects to Java cllectios before it get rendered in JSF. Is there any easy way this can be achived with something like ScalaElResolver, if yes anybody have a sample code for Scala

css - How to add equal padding between buttons? want to put equal space between the 4 buttons at the top, but I'm having trouble. At first the "social-buttons" id was in a DIV floating left, but that caused the slider to get pushed to the right.So I changed everything to and now the padding style doesn't seem to have an

javascript - Why are props being shared between seperate instances of an emotion-js component?

Why does emotion-js appear to share the props from seperate component instances?<Button isDisabled={'true'} /><Button />const Button = styled.button` background-color: ${props => props.isDisabled !== 'true' ? 'green' : 'grey'};`;export default (props) => { return (<Button>