Core Concepts• 3 min

Environment & Domain Auto-Detection

Configure URL rules so Copiqo automatically activates the correct workspace based on the active browser tab.

How Domain Detection Works

Accidentally using staging test credentials on production (or vice-versa) is a constant risk during fast-paced QA cycles.

Copiqo eliminates this problem with Domain Auto-Detection:

  • Every workspace contains one or more Domain Rules.
  • As you switch browser tabs, Copiqo matches the current tab URL against these rules.
  • When a match is found, Copiqo instantly switches to that workspace without requiring manual selection.

URL Rule Syntax

1. Exact Domain Match

text
staging.myproject.com
crm-dev.company.io

Matches all pages under this host, e.g. https://staging.myproject.com/checkout.

2. Port and Localhost Patterns

text
localhost:3000
127.0.0.1:8080
192.168.1.10:5173

Perfect for developers testing local microservices on distinct ports.

3. Wildcard Expressions

text
*.staging.myproject.com
*dev*.company.com

Matches dynamic staging subdomains seamlessly.


Smart Fallback Behavior

When navigating to a page with no linked workspace:

  1. Copiqo warns that no workspace matches the current domain.
  2. A convenient Link Domain button lets you attach the current URL to an existing workspace with a single click.
  3. The previous workspace is retained as a safe fallback indicator.