Cannot connect to domain while installing ipa through device

We have Xcode server configured with a static domain, we are able to trigger the integration and able to see the builds as well. Earlier to Xcode 9.4 we had with macOS server, With macOS server we are able to install the App directly on the devices with the customized SSL certificate configured in macOS server. After 9.4 update macOS server support is not required for Continous integration, Xcode build server API will take care of integration and hosting to the domain. When we try to install the iPA through the domain it is throwing an error alert like "cannot connect to the specified domain", even though we installed the Xcode OTA profile also. But there is a workaround for this I can download the iPA from the domain and copy the iPA to the target device via iTunes. Like this we are installing the daily builds in our devices, can anybody knows how to avoid this copy-paste process.