Does the Distribution Servers have to be on the domain

Does the Distribution Servers have to be on the domain

We are slowly moving to fully Autopiloted devices in our environment. We have to replace a distro server at a remote location and after it was autopiloted, we couldn't install the server software on it. 
Is there a way around this to utilize the distro servers via Intune autopilot or do they need to be on the domain? The DS server will still be on the same subnet as the other devices at the location.

                  New to ADSelfService Plus?