Missing domain http://./wp-… in redirects

Possible solution:
* go to permalinks under settings and check URL structure with your desired domain name. Even if the URL seems to be right, click the desired structure and save. This was handy while i migrated 2 websites.
or
* look for “wp_options” table in your database. You will find “siteurl” & “baseurl” row. Check if they are the right one.

Optional:
search the whole database for the right URL.