I have got the following task from the DEVs.
- original DNS / URL ( example.com ) should be AS-IS.
- example.com/new-site should be hosted by another pool.
- example.com/everything-else should be AS-IS.
More specific, the original site has IIS/ASP.Net on the backend. The new ( example.com/new-site ) is hosted on a LAMP / WordPress stack... and creating a subsite ( new-site.example.com ) is not preferred.
Any way to achieve this?
Bjarke Emborg Kragelund
Solved! Go to Solution.
Hi Nicolas et al,
Thx for the above.
The plot thickens a bit - If the 'new-site' is only listening on the header 'new-site.com' I need to rewrite the traffic towards the new pool as well.
I will give it go, but if you have some code handy?
$path = http.getpath();
http.setheader( "Host", "new-site.com" );