Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DNS Name Pointing

Posted on 2016-11-14
6
Medium Priority
?
68 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Accepted Solution

by:
Dan McFadden earned 2000 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 29

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
Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

 
LVL 9

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 29

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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

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…
Resolve DNS query failed errors for Exchange
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Screencast - Getting to Know the Pipeline

597 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