How to configure macOS Server 5.11 for CI with XCode?
The article you linked is out of date. Xcode Server is now integrated directly into Xcode and OS X Server (now &quot;macOS Server&quot;) is no longer required.
Here's an up-to-date tutorial on getting started with Xcode Server:
https://www.raywenderlich.com/12258400-xcode-server-for-ios-getting-started
I don't think you want to expose your Xcode Server to the internet, so you best use a VPN.