How do I access my local webserver on the internet

Mensah asked 1 year ago

Hi, I have a server machine that runs Windows Server 2008 R2. I have hosted some websites and can be accessed locally (that is within the same network) by typing the ip address of the server machine. I want to configure the Server in such a way that everybody can access the website outside our network (internet). I don't want to give the website to a hosting company. Aside I have a domain name. So how do i do this?

1 Answers
wimiadmin Staff answered 1 year ago

Is your IP static? If you don't have a business connection, your ISP probably blocks port 80.

If they don't block port 80, you'll need to forward that port in your router to your servers internal IP address.

You'll need to go to the Registrar where your domain was purchased and set 2 A records. One A record will be www and it'll point to your IP address. The second A record will need to be a wildcard....some Registrars use @ and others use * while some use a blank. That record will also need to point to your IP address. This way http://www.yourdomain.com will resolve to your IP address as well as yourdomain.com.

Know the answer? Login or sign up for an account to answer this question.
Sign Up