Open Terminal from the Launchpad or Applications list.The below instructions will guide you through the set up process. Then, we’ll use macOS’ buit-in SimpleHTTP server convert the folder into a web server directory. Once the relative path has been created, we’ll configure the localhost server to point to the “macos_local” directory on Desktop. In this example, we’ll create a folder named “macos_local” on Desktop, and replicate the directory structure of the package URLs under the same.
Step 3: Place the package files in a certain relative path from the localhost root, so as to mimic the structure of their respective download URLs. In that case, use the “sudo killall -HUP mDNSResponder” command to flush DNS cache. Note: Sometimes, you might need to flush the DNS cache for the changes to take effect.
Provide the System Password when prompted.Type in the following command: “sudo nano /etc/hosts”.Launch Terminal on your Mac from Launchpad or Applications list.
The below instructions will guide you to modify the hosts file as required. To do this, you need to edit the hosts file on Mac to point the root domain of the download URLs (“”) to localhost (“127.0.0.1”). Step 2: Configure your Mac so that MAS looks for the macOS packages locally instead of from the Apple server.
You cannot install High Sierra directly from the package files. Normally, when you download macOS High Sierra from MAS, some package files are downloaded to your computer, and then processed by MAS to convert them into an executable “.app” file. This post is dedicated for all updates related to macOS High Sierra direct download. To make life easier, we came up with a more reliable workaround to directly download macOS from Apple server instead of via the Mac App Store, for previous macOS and OS X releases.