We've got a system using the cPanel API to add domains / subdomains.
As part of the overall system, we have a website crawler which indexes content for any one of the above domains / subdomains.
I've tried PHP functions fsockopen and stream_socket_client (binding the socket to the dedicated IP address of the server) in hope to index these sites, even if the DNS externally isn't correct.
Is there any way I can configure cPanel / WHM / BIND to use to local zone files irrespective of external DNS set up if the domain in question is configured on the server itself?
Hope there's a solution and someone can help!
Thank you in advance,
As part of the overall system, we have a website crawler which indexes content for any one of the above domains / subdomains.
I've tried PHP functions fsockopen and stream_socket_client (binding the socket to the dedicated IP address of the server) in hope to index these sites, even if the DNS externally isn't correct.
Is there any way I can configure cPanel / WHM / BIND to use to local zone files irrespective of external DNS set up if the domain in question is configured on the server itself?
Hope there's a solution and someone can help!
Thank you in advance,