Create 2 domains for FQDN on 2 servers

I have two servers, one used for Primary and one used as secondary (failover) in two locations.

I need a fully qualified domain name (FQDN) setup on both machines to allow some software to interact (sql server mirroring etc).

I am a domain/DNS etc newbie so please bear with me. We own one domain name (www.xxx.com) and i would like to have server1 have the domain primary.xxx.com and the other have secondary.xxx.com (or something like that.

How can i go setting this up? Do i have to install a dns server in both servers? Or is a dns server even needed.

Thanks for any help or advice.

I can also split this up to seperate questions for more points if you all think it is needed.

Cheers
Winston SmithDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

newborn1281Commented:
FQDN would be primary.xxx.com  in other words server name joined by domain name such as primary + .xxx.com

to have a fail over you need may need DNS not always the case as you can use load balancer technology. DNS needed for people to be able to find any of the servers. when they type in Internet Explorer www.xxx.com they will get ip address such as 69.56.56.78 to which IE will go. where do you have these 2 servers in your location or do you host them with Internet Provider?
0
newborn1281Commented:
To get things straight and easier you do not own domain www.xxx.com what you own is domain xxx.com
and there is a computer somewhere with dns record www
0
Winston SmithDeveloperAuthor Commented:
Sorry, i just used xxx.com as an example. The two servers are located in locations we own or co-locate so we have full access.

So if i name one server Primary and the second one Secondary they can both have the xxx.com domain? This is where i get confused.

Then i can still have the DNS record for the www.xxx.com point to whichever IP i want?
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

newborn1281Commented:
You should be able to add as many as you want ip addresses for www what will happen it will not fail over it will load balance between two servers. in round robin fashion or interchange.
so if you add
host A  record www  1.1.1.1
host A  record www  1.1.1.2
host A  record www  1.1.1.3

when you go www.xxx.com you will go to 1.1.1.1
then if you go again to www.xxx.com you will go to 1.1.1.3 and so on.
0
newborn1281Commented:
Now these two servers what ip addresses do they have Public or Private
Public I addresses are the ones not included in to
10.0.0.0  10.255.255.255
172.16.0.0  172.31.255.255
192.168.0.0  192.168.255.255
0
Winston SmithDeveloperAuthor Commented:
The two servers will have public IP addresses so they can be accessed from the outside. If that is what you mean?

You have cleared up quite a bit for me already, thanks!! Now the last part is the DNS issue. Should i have a dns server active on both servers? Or just one? Or none at all? I am unsure of why i would need one.
0
newborn1281Commented:
You don't need DNS on these servers you  host your DNS server on ISP where you registered xxx.com they have DNS server so you can call the registration company and ask them to add records or you could add them your self. For example i have my own domain hosted with godaddy.com ISP when I login to godaddy here is a panel on their website to configure dns records.
0
newborn1281Commented:
the company where you bought xxx.com will have dns server for sure so thats where you configure records not on your local web servers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Winston SmithDeveloperAuthor Commented:
Thanks!! Makes more sense to me now

Cheers
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.