Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to forward a domain to another ip within DirectAdmin. Lets say the IP from the DirectAdmin server is: 187.187.187.8 and the hostserver for the website is 123.123.123.2. I have set up the A-records to point to the other server, ie:

domain.com. A 123.123.123.2
www A 123.123.123.2

however, if I ping the domain from cmd, it still points to 187.187.187.7 and not to 123.123.123.2. If I ping through SSH to the given domain, on the DirectAdmin server, it gives the right IP adres, though from outside the server it does not.

What am I doing wrong?

share|improve this question

1 Answer 1

Alongs the domain is pointing to your server, you can control the DNS. It is probably the other server doing a wrong dns lookup (although it should update quite quickly).

Have you tried looking at the IP address on http://www.mxtoolbox.com/ or nslookup, you can change your query server to public google dns (8.8.8.8). By doing this you are seeing if the records have been updated to the dns servers around the globe.

share|improve this answer
    
I am working in a test environment, in which I point in my hostfile to the domain on ip 187.187.187.8 Though, normally this wouldnt cause any problems on forwarding the domain from the ns to the actual host-server.. –  oceanmountain Jan 9 '13 at 12:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.