Linked Questions
11 questions linked to/from What does "The provided host name is not valid for this server" mean?
19
votes
1
answer
36k
views
Untrusted Host "localhost" in [duplicate]
From Drupal 8 beta 6 (released today), I have this error :
Error message UnexpectedValueException: Untrusted Host "localhost" in
Symfony\Component\HttpFoundation\Request->getHost() (line 1221 of
...
0
votes
1
answer
180
views
Understanding the Basic Context of Trusted Hosts [duplicate]
I got the trusted host settings error.
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure ...
-1
votes
1
answer
215
views
Trusted host patterns not working [duplicate]
I have an issue where I'm trying to make it a "Trusted host patterns" on settings.php. It gets an issue of "The provided host name is not valid for this server."
I have tried many ...
-2
votes
1
answer
83
views
What are the causes of the malfunction (The provided host name is not valid for this server) and how to fix it? [duplicate]
My site stopped suddenly, with an error message
The provided host name is not valid for this server.
And even though I removed
$settings['trusted_host_patterns']
Completely from the settings file ...
0
votes
0
answers
32
views
The provided host name is not valid for this server on OVH Web Server [duplicate]
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 ...
0
votes
1
answer
1k
views
WSOD "The provided host name is not valid for this server"
My Drupal 8 site only works with www. but without it I'm getting a WSOD with the "The provided host name is not valid for this server" error.
I've tried to implement the suggestions from this thread:
...
2
votes
0
answers
1k
views
trusted_host_patterns behind reverse_proxy
I'm trying to run Drupal 8.0.5 on Apache 2.4 behind an Nginx reverse proxy (both on the same host). However, I'm running into problems w.r.t. trusted_host_patterns, i.e. I'm getting The provided host ...
0
votes
0
answers
1k
views
The provided host name is not valid for this server even after updating settings.php
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 ...
0
votes
0
answers
298
views
How do I fix the "You're attempting to access the site via IP address or invalid hostname." error?
I'm running Drupal 7 on Pantheon and have started getting the following error message whenever I try to save content.
You're attempting to access a Pantheon site via IP address or invalid hostname. ...
1
vote
0
answers
287
views
How do I configure the trusted host settings? [duplicate]
I have changed the Trusted Host Settings on my website where I currently installed Drupal beta 8.0 alpha version. But in the error report it is still saying that
"Trusted Host Settings NOT ENABLED" . ...
0
votes
0
answers
113
views
"drush updatedb" failes with "The provided host name is not valid for this server"
I run my site with Drupal 9.1.6 on Strato Webhosting. The site is well accessible via Webbroser either under mydomain.tld or www.mydomain.tld. I can perform a database update running update.php, but ...