I'm using an OVH web server, I went to the ftp browser and did add all my files into www. I was using Drupal 8 in local.
When I want to go to my website, I've this error:
The provided host name is not valid for this server.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this community
$settings['trusted_host_patterns'] = array('^miage-groupe9-webdesign.fr');
and my website ismiage-groupe9-webdesign.fr
$settings['trusted_host_patterns'] = array( '^miage-groupe9-webdesign\.fr$' );
it does not work. Should I put \ before the - ?$settings['trusted_host_patterns'] = array('^http://miage-groupe9-webdesign\.fr/');