I am trying to add the Trusted Host setting. I copied the code directly from the settings.php file, making sure I removed the * and changed the example to my domain. Using the first example
$settings['trusted_host_patterns'] = array( '^www\.example\.org$', );
The site would not load....got an error stating domain was disallowed
Today using this code and
$settings['trusted_host_patterns'] = array( '^example\.org$', '^.+\.example\.org$', );
I am getting an unexpected error and the site won't load
This is a new site on a shared host. It can't be this difficult! I must be missing something!