Solved

DNS Name Pointing

Posted on 2016-11-14
6
46 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 26

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 26

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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 6

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 26

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now