Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



Totally stuck with IIS and DNS


4 replies to this topic - - - - -

#1 JayUK20

    Neowinian

  • 22 posts
  • Joined: 22-February 08

Posted 16 April 2012 - 14:20

I've really hit a brickwall and not sure what else to do.

I am testing a website but it cannot be displayed locally or through the Internet.

First of all I have PowerDNS setup with my domain and WAN IP and then setup a DNS forwarder with the following settings:

Oh my IIS bindings are mydomain.com/My WAN IP/Port 80

Posted Image


Posted Image

Posted Image

Posted Image


#2 Nas

    Neowinian³

  • 377 posts
  • Joined: 12-November 04

Posted 16 April 2012 - 14:32

A few comments:
1. Your forwarder has the "www" prefix... that usually isn't necessary. You'll usually setup the "www" as a CNAME to the root domain entry.
2. Your firewalls may very well not allow traffic through Port 80 unless explicitly configured.
3. Your inability to review LOCALLY (127.0.0.1 or localhost) means your IIS is not routing properly. In other words, your IIS Binding needs additional entries (or simply leave the space blank; all traffic would listen to port 80).

#3 OP JayUK20

    Neowinian

  • 22 posts
  • Joined: 22-February 08

Posted 16 April 2012 - 15:16

Ok well I have opened up port 80 on the server from in my router and with the bindings I tried removing my domain name and left it blank and the localhost displayed the IIS start page. Also I remove the www. prefix.

#4 +BudMan

    Neowinian Super Star

  • 23,797 posts
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 16 April 2012 - 17:08

Not sure why you feel you need to setup an authoritative zone for this on your local dns pointing to the public IP? You would only do this if you wanted to point your local clients to the private IP of the iis server.

Which would be common practice.

Also you can have lots of problems testing a websites public IP from internally, this is nat reflection, or loopback forwarding, etc. Not all routers support this and quite often does not work.

You normally access a local webserver with its local IP, and setup a forward on your router for public clients to access the public IP which is forwarded to the private IP.

Powerdns handles your public dns - does it not? So there is no reason to setup a local copy of this to point to the public IP.

#5 olger901

    Neowinian

  • 33 posts
  • Joined: 02-October 03
  • Location: The Netherlands

Posted 30 May 2012 - 21:53

Actually a server directly connected to the with internet with a public IP address should be in a DMZ and shouldn't have any private IP addresses. Then you wouldn't be having this problem.