How to get macOS Server download code in Apple Developer Portal?
As I recall, macOS Server used to be available to download for free via a redeem code to Apple Developers enrolled in paid Apple Developer Program. However, after the latest redesign of the Apple Developer portal during mid 2019, I'm not able to find the redeem code anymore.
It used to be possible to get the download code after logging in to the iOS Developer Center and opening the downloads page. There used to be a Get Download Code button which is not there anymore. Here is a picture showing how it looked like.
Now It's only possible to download the macOS server beta, but not the latest released version.
Does anyone know how can I get the redeem code nowadays?
You can download OS X Server from the Mac App Store. Per this Apple Support page:
OS X Server brings even more power to your business, home office, or school. Designed for OS X and iOS, OS X Server makes it easy to collaborate, develop software, host websites and wikis, configure Mac and iOS devices, and remotely access a network. It’s also remarkably simple to install, set up, and manage. Add OS X Server to your Mac from the Mac App Store.
I think the name has been changed to macOS Server but I'm not sure. If someone knows for sure they can edit this answer.
Update: per discussion in comments, it appears Apple has discontinued offering a code to developers for a free copy. All downloads, except for betas or discontinued versions, are in the MAS now and must be purchased (if applicable).