Results 1 to 6 of 6
hello all,
I am having problem resolving hostname.
i had 1 server and its hostname is resolving fine.
i purchased 1 vps and its hostname isnt resolving.
for server1 say ...
- 05-21-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 4
Adding Additional Hostname to Another Server
hello all,
I am having problem resolving hostname.
i had 1 server and its hostname is resolving fine.
i purchased 1 vps and its hostname isnt resolving.
for server1 say hostname is server1.domain.com
and for vps i add server2.domain.com
and when i ping my server2.domain.com i get Host Unknown error.
please help me do i add Hostname and make it resolve in VPS.
i want to use hostname like server2.domain.com.
i want both server to have common domain name but diff hostname.
thank you
Thank you
- 05-21-2010 #2
I dont use vps, but in general you need to configure your/your provider´s DNS.
So that server2.domain.com points to a IP you want it to be.You must always face the curtain with a bow.
- 05-21-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 4
see when i type command "hostname" in shell ( for server2 )
i get reply "server2.domain.com"
and i ping server2.domain.com from server2 shell i get my server's ip.
but when i ping from my home computer to -> server2 i get Host unknown
- 05-21-2010 #4
- Is there a DNServer set up for your domain?
- Is it an offical DNS (aka registered Domain + public DNS) or a internal DNS?
In the later case, you need to point your home computer to your internal DNSYou must always face the curtain with a bow.
- 05-21-2010 #5Just Joined!
- Join Date
- May 2010
- Posts
- 4
Yes its setup for server1.domain.com and its resolving fine.
Name Servers are Setup on server1.domain.com.
and Using Internal DNS.
but in Server2.domain.com i purchased vps and i gave provider the hostname i wanted and thats it.Do i need to do something more to make it resolve?
- 05-21-2010 #6
If I understand correct, then your provider operates the DNS
Find out which DNS it is and do this
(replacing server2.domain.com and dnserver.provider.com with your actual hostnames)
It should return a IP or at least a CNAMECode:host server2.domain.com dnserver.provider.com
You must always face the curtain with a bow.


Reply With Quote