Creating a New DNS Entry : Configuring Application URL

Creating a New DNS Entry : Configuring Application URL

February 10th, 2012 // 10:19 am @ // No Comments

If you are working on Microsoft Web based Solutions such as SharePoint, Dynamics CRM, etc. you would know that on installation these products take up the server FQDN + Service Port as their primary access URL. Wouldn’t it be good if we could have meaningful access URL(s) for each service (CRM, SharePoint) even if they are running on the same physical or virtual server.

For that we need to create a alias for the server running the service in the DNS. You need to have the access to the DNS Server as an Administrator to be able to do that.

Lets take a look at how can that be done.

  1. Fire up the DNS manager, and expand the node of the DNS Server you want to add the entry to.
  2. Next Expand the “Forward Lookup Zone” node .
  3. Right click on the node with the name of your Domain.
  4. Select “New Host (A or AAAA)” option.
  5. Enter the detais as illustrated belowimage
    1. Name : Enter the new name of the URL, for Eg, if you want your service to be accessed via “MyService.mydomain.com”, then enter “MyService” as the Name.
    2. IP address : Enter the IP Address of the Server running the service.
  6. Click on Add Host.
  7. Next You need to add a SPN of this new URL as a HOST. For that run the following Dos Command.
    setspn -s HOST/newurl.mydomain.com

That’s all there is to it, we have set up a new URL for our application, now all we need to do is configure our application to listen to requests with the address in the HOST-HEADER and respond.


Category : General

Leave a Reply

Subscribe Now

Featuring Recent Posts WordPress Widget development by YD