[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

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
0
Winston Smith
Asked:
Winston Smith
  • 6
  • 3
1 Solution
 
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
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
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
 
Winston SmithDeveloperAuthor Commented:
Thanks!! Makes more sense to me now

Cheers
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now