Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5956

How to replace domain in all outgoing HTTP request from Ubuntu machine [closed]

$
0
0

For testing purposes, I would like to replace domain in all outcoming HTTP requests from Ubuntu 22 machine.

For example I need to replace updater.production.com -> test-updater.production.com

I see that it should be probably possible to achieve this with host file if those two servers are hosted on different hosting (different IP). But unfortunately both domains are hosted on same public IP.

It is possible to setup some kind of low level interceptor on Ubuntu which would replace the domain in request? Would it cause the certificates to be invalid or not?


Viewing all articles
Browse latest Browse all 5956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>