Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit b8e3705

Browse files
author
ada
committed
[O11YDOCS-7041] Clarify the host overrides feature
1 parent 43b2844 commit b8e3705

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

synthetics/browser-test/set-up-browser-test.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,12 @@ Host overrides
460460
---------------------------------------
461461
Add host override rules to reroute requests from one host to another. For example, you can create a host override to test an existing production site against page resources loaded from a development site or a specific CDN edge node.
462462

463-
You can also indicate whether to retain the original HOST header by activating :strong:`Keep host headers`. If activated, the original request's headers remain intact (recommended). If deactivated, a change in the HOST header to the new host might occur, potentially leading to an internal direct (307). It is activated by default.
463+
You can also indicate whether to retain the original HOST header by activating :strong:`Keep host headers`. If activated, the original request's headers remain intact (recommended). If deactivated, a change in the HOST header to the new host might occur, potentially leading to an internal direct (307). :strong:`Keep host headers` is activated by default.
464+
465+
466+
.. note::
467+
Host overrides apply only to the exact hostname specified. They don't automatically apply to subdomains. If you need to override subdomains, you must create a separate host override for each fully qualified domain name (FQDN). In other words, if you create a host override for ``google.com`` to ``mygoogle.com``, requests to ``google.com`` are redirected to ``mygoogle.com``. If you also want to redirect requests to ``mail.google.com`` to ``mail.mygoogle.com`` you must do this explicitly by creating a separate host override for ``mail.mygoogle.com``.
468+
464469

465470
.. _browser-wait-times:
466471

0 commit comments

Comments
 (0)