Unresolved Host Name

Discussion in 'DNS Server' started by Dennis C. Drumm, Mar 18, 2005.

  1. For some reason I can connect to my local web site on my DNS server using
    the address https://servername/websitename but cannot connect to the site
    using https://servername.domainname.local/websitename . For the FQDN query,
    I get the message:

    "The system detected an Unresolved Host Name while attempting to retrieve
    the URL: https://servername.domainname.local:443/."

    It appears something is set up wrong in the DNS, but I can't figure out what
    it is. The DNS event log shows no errors or warnings.

    Can someone offer some suggestions?

    Thanks,

    Dennis
     
    Dennis C. Drumm, Mar 18, 2005
    #1
    1. Advertisements

  2. I forgot to mention, the DNS server is running Windows Server 2003.

    Dennis
     
    Dennis C. Drumm, Mar 18, 2005
    #2
    1. Advertisements

  3. Dennis C. Drumm

    Terry Olsen Guest

    I have the same problem at home. I can see my local website by pointing to
    the servername. It doesn't work at all by pointing to my internet domain
    unless i'm outside looking in. Therefore, I have to build my web pages
    referencing my servername and then change all references to the internet
    domain when I put it up for all to see. Of course, then I can't see it
    anymore. I've never been able to figure out why that is...
     
    Terry Olsen, Mar 18, 2005
    #3
  4. Dennis C. Drumm

    Jeff Cochran Guest

    Obvious is to do a NSLookup on the host name and see what resolves.

    Jeff
     
    Jeff Cochran, Mar 18, 2005
    #4
  5. Dennis C. Drumm

    Jeff Cochran Guest

    Do you have a host entry in your DNS for the web server in the domain
    pointing to the internal IP instead of the external? (You need
    one...)

    Jeff
     
    Jeff Cochran, Mar 18, 2005
    #5
  6. Dennis C. Drumm

    Terry Olsen Guest

    I have the same problem at home. I can see my local website by pointing
    Hey, that worked great! Sometimes you overlook the simple things.

    Now, how do I forward a TCP port to a different ip address?
     
    Terry Olsen, Mar 18, 2005
    #6
  7. Thanks Jeff,

    How do I add that entry to DNS? Or can you refer me to a doc or KB that
    explains it.

    Thanks,

    Dennis
     
    Dennis C. Drumm, Mar 19, 2005
    #7
  8. Dennis C. Drumm

    Terry Olsen Guest

    Go into DNS Control Panel
    Right-Click Forward Lookup Zones
    Click New Zone
    Enter your Zone Information (mydomain.com pointing to your server)
     
    Terry Olsen, Mar 19, 2005
    #8
  9. Dennis C. Drumm

    Jeff Cochran Guest

    You can't in DNS, that's a function of your router or firewall.

    Jeff
     
    Jeff Cochran, Mar 19, 2005
    #9
  10. Dennis C. Drumm

    Jeff Cochran Guest

    First, do you manage your own internal DNS? If so, you need a zone
    for the domain name, with all the same records as the external
    version, but with them potinting to the internal IP address.

    If you don't manage your DNS, you can do this with a HOSTS file on
    your system. Add a line to the HOSTS file with the host/domain name
    and the internal IP the web server uses. Something like:

    www.sample.com 192.168.1.10

    Jeff
     
    Jeff Cochran, Mar 19, 2005
    #10
  11. I manage my own internal DNS.

    But even with Terry's comments, I am unclear. I wonder if Terry is
    adminsitering a Windows 2000 server?

    Anyway, Terry is saying to point the domain at my server and Jeff is saying
    to point my domain at the ip of the server. As I review my DNS settings, it
    looks to me that the domain (mydomain.local) is pointing to the IP address
    of the server.

    When I do as Terry suggests to add a new zone to the Forward Lookup Zones,
    Windows 2003 Server starts a New Zone Wizard. The first page has options for
    Primary zone, Secondary zone, Stub zone.

    I assume it is primary, but from there where?

    Thanks,

    Dennis
     
    Dennis C. Drumm, Mar 19, 2005
    #11
  12. In
    Since the website is hosted on a local machine probably with a private IP
    and you are probably behind NAT, you need the name to resolve to a private
    address. For example, if you access the site externally by
    www.publicdomain.com you need to create a new primary forward lookup zone in
    the local DNS named www.publicdomain.com , then in that zone right click
    select neew host from the list, leave the name field blank, give it the IP
    address of the local webserver the site is on.
    You could also create a zone named publicdomain.com but then you would not
    only have to create a host named www with the private IP of the web server,
    you will also have to create a host for any other host in publicdomain.com
    such as mail. ftp and so on with the IP address needed to access the server.



    --
    Best regards,
    Kevin D4 Dad Goodknecht Sr. [MVP]
    Hope This Helps
    ===================================
    When responding to posts, please "Reply to Group"
    via your newsreader so that others may learn and
    benefit from your issue, to respond directly to
    me remove the nospam. from my email address.
    ===================================
    http://www.lonestaramerica.com/
    ===================================
    Use Outlook Express?... Get OE_Quotefix:
    It will strip signature out and more
    http://home.in.tum.de/~jain/software/oe-quotefix/
    ===================================
    Keep a back up of your OE settings and folders
    with OEBackup:
    http://www.oehelp.com/OEBackup/Default.aspx
    ===================================
     
    Kevin D. Goodknecht Sr. [MVP], Mar 19, 2005
    #12
  13. Dennis C. Drumm

    Don Wilwol Guest

    Once your at the wizard,
    Select Primary Zone
    At the AD zone replication scope, leave the default. It will be to all DNS
    DC in the domain.
    Zone name - yourDomaname.com
    The next screen will depend on your environment. If you only have one DNS
    server it will make little difference. Choose "allow secure and non secure"
    if you don't know. Just remember this can be a security risk.

    The add a host record in this zone.
    expand the zone.
    right click the white space in the right pane.
    Add host record.
    Add your web server IP and name.
    Everything else should be left default.
    Your done.

    --
    Hope it helps...........

    dw

    Don Wilwol
    Blog - http://spaces.msn.com/members/wilwol/
    Web - http://capital.net/~wilwol/dw.htm
    DonWilwol(REMOVE)@yahoo.com
     
    Don Wilwol, Mar 19, 2005
    #13
  14. Now I starting to think this is an IIS issue instead of a DNS issue.

    My DNS settings are already set that way. I think that is why I was
    struggling with the responses I was getting here. I already have a host
    record in the forward lookup zone for my domain (mydomain.local) that
    associates the name of my server to that domain and the ip address of the
    server, e.g. myserver, mydomain.local, 192.168.1.2

    The only time I find there is a problem is as stated in the first post in
    this thread. If I try to open my local web site using a FQDN for the server,
    I get the error noted. However, I can access the web site using a query such
    as: https://myserver/mywebste

    I also run into the same problem accessing the Admin web page for Microsoft
    Virtual Server 2005, which is how I discovered this problem. The short cut
    that is set up for the user by the install program uses a FQDN. I can
    asssess the admin web page if I change the short cut to use just the
    server's name, but can't access the page wiht the FQDN for the server.

    The error that is returned is:

    Problem Report: "The system detected an Unresolved Host Name while
    attempting to retrieve the URL:
    http://myserver.mydomain.local:1024/VirtualServer/VSWebApp.exe?view=1."

    Message ID: UNRESOLVED_HOSTNAME

    Can this be an IIS problem?

    Thanks,

    Dennis
     
    Dennis C. Drumm, Mar 20, 2005
    #14
  15. Dennis C. Drumm

    Don Wilwol Guest

    Don Wilwol, Mar 20, 2005
    #15
  16. Don:

    Yes, I can ping my server using the FQDN.

    Dennis
     
    Dennis C. Drumm, Mar 21, 2005
    #16
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.