locked
DNS entry pointing to an external web application RRS feed

  • Question

  • I have a web application in a dmz residing on a server server1.us.domain.com. Server IP is 1.10.10.1 and application name is appname.

    My internal network has a windows DNS server (AD) domain is rm.domain.com and server is server1.rm.domain.com (different subnet)

    Users on my rm.domain.com have access to the webapplication using an URL: 1.10.10.1/appname/logon.aspx

    How can I configure my dns to use appname to acces the application instead the URL: 1.10.10.1/appname/logon.aspx

    Thank you for any help. Rene

    Friday, November 21, 2014 9:00 PM

Answers

  • You want your customer to type http://appname or http://appname.us.domain.com and have them redirected to http://server1.rm.domain.com/appname/logon.aspx?

    If yes, you have several way to do it. You can create a record a DNS to make appname pointing to server1 and have your webservice on server1 redirecting request for the root level to the path /appname/logon.aspx.

    You can also use the Web Application proxy from Windows Server 2012 R2 to redirect your client to the proper website (but you need an ADFS farm deployed already, or you can deploy one for this occasion).

    You can use TMG if you have it already, or any HTTP proxy technology to do URL rewriting.


    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    • Proposed as answer by Steven_Lee0510 Monday, November 24, 2014 9:25 AM
    • Marked as answer by Steven_Lee0510 Wednesday, December 3, 2014 2:34 PM
    Friday, November 21, 2014 9:30 PM

All replies

  • You want your customer to type http://appname or http://appname.us.domain.com and have them redirected to http://server1.rm.domain.com/appname/logon.aspx?

    If yes, you have several way to do it. You can create a record a DNS to make appname pointing to server1 and have your webservice on server1 redirecting request for the root level to the path /appname/logon.aspx.

    You can also use the Web Application proxy from Windows Server 2012 R2 to redirect your client to the proper website (but you need an ADFS farm deployed already, or you can deploy one for this occasion).

    You can use TMG if you have it already, or any HTTP proxy technology to do URL rewriting.


    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    • Proposed as answer by Steven_Lee0510 Monday, November 24, 2014 9:25 AM
    • Marked as answer by Steven_Lee0510 Wednesday, December 3, 2014 2:34 PM
    Friday, November 21, 2014 9:30 PM
  • Hi Rene,

    I’m writing to just check in to see if the suggestions were helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.

    Best Regards.



    Steven Lee

    TechNet Community Support

    Monday, November 24, 2014 9:27 AM
  • Thank you!

    Not really and I am not sure if I explained my design correctly.

    Here it is.

    my App (appname) resides on a different domain than mine (domain2.mydomain.com) and on a different subnet and it's secured. Only few ports are open such as port 80, sql port 1433 and soon smb.

    My users' domain is domain1.mydomain.com. There is no trust or relationship between the 2 domains so far.

    To currently access my application, I use 1.10.10.1/appname/logon.aspx

    I would like to use instead http://appname.

    DNS entry (appname.com/1.10.10.1) on my domain doesn't redirect to my Application so far.

    We are not currently using windows 2012 and ADFS...

    Is there any other possible solutions?

    Do I need an IIS server on my domain to redirect to my WebApp server where my app resides.

    Thank you very much for your help. Rene

    Tuesday, November 25, 2014 6:58 PM
  • Hi Rene,

    You can access the application with http://appname/.

    To achieve this, please follow the steps below:

    1. Create the A record (appname.domain1.mydomain.com/1.10.10.1)
    2. Make sure that domain1.mydomain.com has been configured as the DNS suffix of the clients.
    3. Enable the HTTP redirection on your WebApp server.

    For detailed information about how to enable HTTP redirection, please refer to the link below,

    Configuring HTTP Redirection in IIS 7

    http://technet.microsoft.com/en-us/library/cc732969(v=WS.10).aspx

    Best Regards.



    Steven Lee

    TechNet Community Support


    Saturday, November 29, 2014 2:13 PM