Host Mapping
Overview
Host Mapping redirects requests for specific domains to different hosts. Similar to editing the /etc/hosts file, but operates dynamically at the proxy level without modifying system settings.
Useful for staging server testing, local development server connections, and server migration verification — all without touching the system hosts file.
Configuration
Wildcard Patterns
Use wildcard patterns in source hosts to map multiple subdomains at once.
Use Cases
Staging Server Testing
Route production domain requests to a staging server, testing the staging environment without frontend code changes.
Local Development
Route API requests to a local development server while accessing the frontend via the production URL.
Server Migration Verification
Map old service domains to new ones to verify behavior before migration.
Usage
Desktop
- Select Host Mapping from the sidebar
- Click Add Rule
- Configure source host, target host, and ports
- Save
