If you have changed it very recently, you need to allow time for the DNS records to propagate. This can take anywhere up to ~72 hours, but it usually takes only a day for most of the servers to update. If the problem persists beyond this time period, then there must have been a misconfiguration...