Solved

DNS Name Pointing

Posted on 2016-11-14
6
51 Views
Last Modified: 2016-11-29
I have a web server the fully qualified domain of the server is store.domain.com.  We can put this in a web portal store:8080/shop and it takes us to the online store.  Now i need to create a second store which works from the server.  The second store name is store-xxx:8080/shop but i cant hit it from any other computer only the server.

I know i need a DNS record to make this work but either i am choosing the wrong record or setting up something wrong.  Can someone help?
0
Comment
Question by:Jeremy Jones
  • 3
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 41886497
You need to create 1 of 2 types of DNS records (depending on how you implemented the first one).

You need to make an A-Record in DNS which will connect the IP Address of the host to the FQDN that you want to use.

This can also be implemented by creating an alias in DNS, called a CNAME.  This is how I implement CNAMEs:

1. hostname = web01.domain.com
1a.  create an A Record in DNS that points IP Address 1.2.3.4 to web-1.domain.com
2. website 1's URL desired is:  www.domain.com
2a.  create a CNAME Record in DNS that points www.domain.com to web01.domain.com
2b.  website is configured on host server to use host headers in the site's IP Address binding settings.
3. website 2's URL desired is:  app.domain.com
3a.  create a CNAME Record in DNS that points app.domain.com to web01.domain.com
3b.  website is configured on host server to use host headers in the site's IP Address binding settings.

If you were to do an NSLOOKUP, the returned information would look like this:

C:\>nslookup www.domain.com
Server:  ns.domain.com
Address:  1.1.2.2

Name:    web01.domain.com
Address:  1.2.3.4
Aliases:  www.domain.com

Dan
0
 

Author Comment

by:Jeremy Jones
ID: 41886546
The first one as far as i can see doesn't appear to have a record because its using the naming convention of the server.
0
 
LVL 27

Expert Comment

by:Dan McFadden
ID: 41886611
So store.domain.com is the FQDN?  as in your example.

Then just create a CNAME in DNS the points store-xxx to store.

Dan
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 7

Expert Comment

by:jmac44
ID: 41886759
I find it works better to create a secondary zone for the domain on the NS and then create a host record for the domain. That way it will create PTR record in revers lookup. Either way. Dan's way should work too.
0
 
LVL 27

Expert Comment

by:Dan McFadden
ID: 41905467
Any additional info on this question?

Dan
0
 

Author Closing Comment

by:Jeremy Jones
ID: 41905829
That worked
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS Woes 7 50
How do I migrate DNS from SBS2k8 to Server 2k12 Step by step . 8 43
Allow dynamic IP address to become static. 5 46
DNS Redirection 6 35
Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question