Did you change the settings in Settings, General to the new domain http://www.example.com ?
added
Other things to check are if your nameservers for your domain are correct, according to your hosting requirements. And note that nameserver changes might take a while to propagate (become valid) for some locations.
Also, check your browser cache. Or start a new ‘private’ browser session and try your domain.