How to use Mac Mini as an APNS server for Push Notifications
I formatted the Mac Mini and reinstalled OSX 10.10, as deleting all files for OSX Server simply just doesn't work.

I followed the following tutorial : Mac OSX Apache Setup with PHP

Note: To make your Mac Mini a web server, don't install OSX Server at all, it's mostly designed for company workspace to setup calenders, VPN, email servers etc.