I am using Drupal 6 and Domain Access-6.x-2.11. I need to programmatically add nodes to subdomains defined in Domain Access configuration. I've been looking the source code of domain.module but can't figure out how to use the api of the module to add a node to certain subdomains.
Any suggestions?