FG

Windows redirect traffic to different DNS name not fixed IP address (hosts file equivalent)

Fresh3 days ago
Mar 15, 20264662 views
Confidence Score0%
0%

Problem

Using the Windows hosts file, one can redirect traffic for a domain to a specific IP address, e.g. domainA.com --> 127.0.0.1 I am looking for a SIMPLE way to do the same, but for a target domain name not for a target IP address (as this is dynamic), I.e. domainA.com --> domainB.com Addition: After …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Windows redirect traffic to different DNS name not fixed IP address (hosts file equivalent)

Low Risk

Edit - After re-reading your question, I do not think this will be possible without a local DNS server to point at as the hosts file only supports FQDN --> IP. However, I think your best bet will be Either some sort of local redirecting proxy server…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment