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

Commit 058ac38

Browse files
authored
Merge pull request #2642 from splunk/adasplunk-O11YDOCS-7041
[O11YDOCS-7041] Clarify the host overrides feature [Mar 4 release]
2 parents eb51100 + d5e17eb commit 058ac38

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,14 @@ To set a cookie, a key and value must be provided. A domain and path may optiona
458458

459459
Host overrides
460460
---------------------------------------
461-
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.
461+
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 from a specific CDN edge node.
462+
463+
You can also indicate whether to retain the original ``HOST`` header by activating :guilabel:`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). :guilabel:`Keep host headers` is activated by default.
464+
465+
466+
.. note::
467+
Host overrides apply only to the exact hostname you specify. They don't automatically apply to subdomains. In other words, host overrides don't support wildcards. If you need to override any subdomains, you must create a separate host override for each subdomain's fully qualified domain name (FQDN). For example, if you create a host override for ``domainA.com`` to ``domainB.com``, requests to ``domainA.com`` are redirected to ``domainB.com``, but requests to ``mail.domainA.com`` are not automatically redirected to ``mail.domainB.com``. You must explicitly create a separate host override for ``mail.domainA.com``.
462468

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.
464469

465470
.. _browser-wait-times:
466471

@@ -473,10 +478,10 @@ Optimize your test coverage by adding custom wait times to capture longer page l
473478

474479
Follow these steps to configure custom wait times for your Browser tests:
475480

476-
#. In Splunk Synthetic Monitoring, select :strong:`Edit` on the Browser test to open the configuration panel.
477-
#. Select :strong:`New step > Wait`, from the step type drop down.
481+
#. In Splunk Synthetic Monitoring, select :guilabel:`Edit` on the Browser test to open the configuration panel.
482+
#. Select :guilabel:`New step > Wait`, from the step type drop down.
478483
#. Add a name and the wait time in ms.
479-
#. When you finish instrumenting your test, save the workflow: :strong:`Return to test > Save`.
484+
#. When you finish instrumenting your test, save the workflow: :guilabel:`Return to test > Save`.
480485

481486
The following image shows how to configure a test to go to a URL, wait for 10 seconds, then log in.
482487

0 commit comments

Comments
 (0)