View Full Version : ping showing wrong IP address
seikan
03-17-2010, 04:45 PM
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?
SeLLeRoNe
03-18-2010, 02:26 AM
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.
seikan
03-18-2010, 02:27 AM
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.
SeLLeRoNe
03-18-2010, 02:29 AM
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
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.