Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I don't believe you need a module to do this in Drupal 8 (at least to configure different hostnames for dev/test/prod or whatnot, though it will only respond to one per site).
You can add something like this to your settings.php or settings.local.php to override what's set in the database:
Comments
Comment #2
matthewv789 commentedI don't believe you need a module to do this in Drupal 8 (at least to configure different hostnames for dev/test/prod or whatnot, though it will only respond to one per site).
You can add something like this to your
settings.phporsettings.local.phpto override what's set in the database: