I'm running in to the error message
The provided host name is not valid for this server.
I found the previous solution here however even once updating my
settings.php file I'm continuing the hit this problem.
My two domains are almost identical however the second one includes an
a at the beginning. Therefore my
two trusted_host_patterns are exactly the same except that the second one includes an a after the
^. Is it possible that there is something else I'm missing? Looking in
admin/reports/status I can see the two domains listed under trusted hosts.
Here's the line:
$settings['trusted_host_patterns'] = array(