Solved

DNS Name Pointing

Posted on 2016-11-14
6
55 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 8

Expert Comment

by:Justin Moore
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

828 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