If your domain doesn't resolve to your hosting provider's server then you can face this problem. To fix this problem you can follow the following steps :
1. Log in your Cpanel.
2. Go to the FileManager. There navigate to the configuration.php file in the public_html directory and edit it. You have to make the following change:
from
Quote:
|
$mosConfig_live_site = 'http://mydomain.com';
|
to
Quote:
|
$mosConfig_live_site = 'http://servername.com/~user';
|