Plugin takes basepath/baseurl from WordPress, however old records might be kept i database.
Normally you just need to disable/enable the plugin and save again settings.
If the issue persists, check carefully the database and replace old domain records.
Wordpress suggests a simple and powerful tool to do it: check here
If your domain is the same but changed server, refer to this FAQ