Add new comment

$settings['trusted_host_patterns'] = array(
  '^yourwebsite\.com$',
  '^www\.yourwebsite\.com$',
);

it fixed my problem.