ping showing wrong IP address

seikan

New member
Joined
Aug 10, 2009
Messages
4
My VPS is having 2 IPs. One of the website domain.com has been assigned with dedicated IP. If I ping domain.com from my local computer, I get XX.XX.XX.54 which is the correct IP. However, if I pinged from the VPS itself, it showing me the IP of the server. I believe this maybe the DNSsettings on the VPS. Any clues?
 
give us more information like the domain name should be helpful, but, if your vps ping the domain that is internal on a different ip and your dns settings in directadmin panel are correct well, is not abig problem.
 
give us more information like the domain name should be helpful, but, if your vps ping the domain that is internal on a different ip and your dns settings in directadmin panel are correct well, is not abig problem.

Ops, I have solved this issue by edit the /etc/hosts. I have removed the entry for this domain and fixed.
 
oh, hehe nice

make sure your hostname is not the main domain.

Example you wanna host example.com
Make sure the server hostname is different from example.com (es. server.example.com)

Regards
 
Back
Top