In what scenarios would it be beneficial to directly send requests to an XMLRPC server instead of using subdomains or VirtualHosts in PHP applications?

When dealing with multiple XMLRPC servers in a PHP application, it may be beneficial to directly send requests to the servers instead of using subdomains or VirtualHosts. This approach can simplify the configuration process and make it easier to manage different servers without the need for additional setup. Additionally, directly sending requests can improve performance by reducing the overhead associated with routing requests through subdomains or VirtualHosts.

<?php

$server1 = 'http://example1.com/xmlrpc_server.php';
$server2 = 'http://example2.com/xmlrpc_server.php';

// Directly send requests to XMLRPC servers
$response1 = xmlrpc_decode(file_get_contents($server1));
$response2 = xmlrpc_decode(file_get_contents($server2));

// Process the responses
// ...