Internal Website redirect to internal IP

Discussion in 'DNS Server' started by Michael SF, Feb 23, 2005.

  1. Michael SF

    Michael SF Guest

    I have IIS running an internal website that i want to use on another
    computer - If i type in http://dev.mycompany.com outside of our network it
    works great - however becaus ei am using a firebox it refuses going outside
    the network back in. so i need when users are logged on to my network (and
    have a private IP) for my DNS server to resolve http://dev.mycompany.com to
    192.168.0.101

    how can i do this?
     
    Michael SF, Feb 23, 2005
    #1
    1. Advertisements

  2. Michael SF

    Herb Martin Guest

    Do you have an INTERNAL DNS server?

    Do you use the same zone name (mycompany.com)
    for both external and internal use?

    Create a record for dev.mycompany.com on
    the internal DNS server -- if you have a zone
    for it this is trivial. If you don't have this
    zone then you will need to create this zone
    for the entire name (dev.mycompany.com and
    create a A record for that [now blank] host
    name in the same "zone".)

    If you have no internal DNS you will have to
    arrange for the firewall to deal with it.
     
    Herb Martin, Feb 24, 2005
    #2
    1. Advertisements

  3. In
    Create a new forward lookup zone named, dev.mycompany.com, in that zone
    create a new host record, leave the name field blank, give it the IP of the
    web server. Win2k barks at you saying (same as parent folder) is not a valid
    host name, click OK to create the record anyway.


    --
    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], Feb 24, 2005
    #3
  4. Michael SF

    Todd J Heron Guest

    As info, Herb and Kevin are both telling you to create a blank host record
    so that when the browser looks for http://dev.mycompany.com DNS will resolve
    it to the IP host dev.mycompany.com. Since the zone name is already
    dev.mycompany.com you cannot fill in the value for the host record itself
    for that name.
     
    Todd J Heron, Feb 24, 2005
    #4
    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.