Wrong domain redirection

I’m facing a problem configuring the gateway, it appears my call are not proxyed to the right domain
I’m trying to do the following redirection:


When I look at my http log, all my calls end-up in
So my listen path is stripped and my custom path is applied, but the domain doesn’t change

here is what my api json look like
“proxy”: {
“preserve_host_header”: true,
“listen_path”: “/listenPath/”,
“target_url”: “https://www.myCustomDomain/customPath/”,
“strip_listen_path”: true

Has anyone ever had the same problem ?
I saw there was a “domain” attribute in the api definition, but the tutorial doesn’t mention it so I don’t think it’s mandatory ?
If anyone can give me a quick rundown on the proxying that’s done in tyk, it would be greatly appreciated :slight_smile:

Thank you, and have a great day !

found it !
I “preserve_host_header” should be set to false.
guess I didn’t read the doc enough