1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

DNS Redirect Question

Discussion in 'Networking (Hardware & Software)' started by neoscope, 2008/04/03.

  1. 2008/04/03
    neoscope

    neoscope Inactive Thread Starter

    Joined:
    2006/09/14
    Messages:
    15
    Likes Received:
    0
    How can I configure our internal DNS or some type of redirect to point an internal address of:

    vtm.domain.com to http://vtm.domain.org:8080/qilan/Login.jsp

    We had this working previously with a Mac and I'm trying to figure out how to do it with Windows.

    Thanks,

    T
     
  2. 2008/04/03
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    Two options

    DNS Server
    Create an A Host record on your DNS (which I presume is managing the address space domain.com) for a host name vtm and with an IP address of the server hosting the vtm.domain.org web pages.

    No server so you have to apply a solution to each client PC
    Update the HOSTS file (search the Windows folder for it) and put in an entry for vtm.domain.org with a mapping to the IP address of the server hosting those web pages.
     

  3. to hide this advert.

  4. 2008/04/03
    neoscope

    neoscope Inactive Thread Starter

    Joined:
    2006/09/14
    Messages:
    15
    Likes Received:
    0
    That's exactly what we have. We need to have the :8080/qilan/Login.jsp following the vtm to come up as well. Otherwise it doesn't take us to the correct site.
     
  5. 2008/04/03
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    Can you confirm that you can actually access http://vtm.domain.org:8080/qilan/Login.jsp from your network and just need to use http://vtm.domain.com for some reason like matching a previous system or naming scheme!

    If so you'll need to do it another way. Probably the easiest thing is to use a web server internally. You'll need to turn off the DNS/HOSTS stuff I described early - or rather, change them to point at the internal web server.

    As for web server, you could do it with IIS, but personally I'd use Apache. You'll need to enable mod_proxy. Then code in http.conf like this should achieve what you want.
    Code:
    <VirtualHost vtm.domain.com:80>
    
        ServerAlias vtm.domain.com
    
        ProxyPass / http://vtm.domain.org:8080/qilan/ 
        ProxyPassReverse / http://vtm.domain.org:8080/qilan/
        ProxyPreserveHost on
      </VirtualHost>
    That'll get you to vtm.domain.com/Login.jsp.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.