1827336 Members
5663 Online
109963 Solutions
New Discussion

Domain names....

 
SOLVED
Go to solution
Kathleen
Regular Advisor

Domain names....

Is it possible to have more than one domain name on a system?
4 REPLIES 4
Steven Sim Kok Leong
Honored Contributor

Re: Domain names....

Hi,

From the server's point of view, in /etc/resolv.conf, you can only specify one single domain.

From the client's point of view, you can have multiple aliases pointing to the same IP address in your /etc/hosts or in the DNS server resource records.

Hope this helps. Regards.

Steven Sim Kok Leong
Kathleen
Regular Advisor

Re: Domain names....

Ok. So if my hostname was
proxy.abc.def.com and I wanted it to also host the domain name abc.org all I would need to do is put this in the host file as an alias? But then would the user have to access this server as abc.org.abc.def.com? I am still unsure how this would resolve to just abc.org? Ir if that gets the system to resolve to that name. Sorry.
Sachin Patel
Honored Contributor
Solution

Re: Domain names....

Hi

For example
you are on
system1.def.com and run nslookup for tic. And
tic.def.com has ip 10.20.1.1
You will gets the correct ip, easy.

Now if you are on system2.abc.com# > nslookup tic.def.com will gets ip no problem. If you want tic.abc.com to point to same ip you will have to set CNAME record on DNS
tic CNAME tic.dif.com

Sachin
Is photography a hobby or another way to spend $
Mark Fenton
Esteemed Contributor

Re: Domain names....

Kathleen,

The answer depends on the context of the domain name resolution you envision.

Wherever the DNS records for abc.org will reside, they will have to point to the IP address of the box that will represent it.

The box can have multiple addresses and aliases of course, just need to be careful to associate the apropriate addresses with the domain name it needs to use.

best regards.

Mark