Please note that this information is no longer up to date. The content of this site has moved to a new domain DIYMacServer.com which is kept up to date. Apologies for the inconvienince.
This is a complete installation and configuration guide for changing your Mac mini (or any other Mac) into a full blown internet connected server to be used for all your needs at home for yourself, friends and family. When finished it will be your web, mail and more server which you can connect to the internet at home using your broadband connection or have it located in a hosting datacenter like macminicolo.net.
You could compare it to the “ISP in a box article” on Mundy.org’s Nerd Vittles but I think this one is better. Why ? Because my setup will allow you to setup virtual domains for the web and mail. This will mean you can become the family and friends mail and webspace provider. Host their sites and provide them with e-mail services like a proper ISP.
If you follow these documented steps you’ll end up with a Mac which you can use to host your and your friends websites by using an Apache2 based webserver which uses PHP 5 and can talk with a MySQL 5 database. This means you can install most PHP/MySQL based applications like for instance blogs or forums like WordPress and phpbb. You are also able to provide mail services for them with unlimited mailboxes, domains and web-based email services using Roundcube.
The pages will guide you through the basic setup, the blog posts are more about little tweaks to configurations, updates and extra’s.
Note: If you just want to host one website and receive just your own mail you’re better off with Mundy.org’s Nerd Vittles setup because that setup is a simpler. You, for instance, don’t need any UNIX skills and type difficult commands in the Terminal.
Before you get started this is what you need to have.
First up the MAMP application stack:
Next the mail server:
- Building the mail server components
- Configuring the mail server components
- Starting the mailserver programs after a reboot
For some easy web based administration of your mailserver:
And last but not least a spamfilter to root out those viagra ads you don’t need:
If you need webmail you might like roundcube.net’s webmail software, I’ve blogged about it several times, on installing and upgrading. Just look at the posts in the Roundcube categorie. Please note that this software is still in beta.
If you liked this documentation and used it to your advantage I would be very pleased if you would express it and supported this site. All donations will only be used to support this site and not for personal gain.