Topic: Setup with multiple domains
==== Required information ====
- iRedMail version: 0.8.5 (latest)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6 x64
I'm about to move two websites that have been running separately to one VPS, coming from Shared Hosting. I've successfully installed everything from iRedMail to Apache Virtual Hosts, but I'm unsure about something.
Like I said, I will be running two websites (two domains) on one IP. I use Apache VirtualHosts to keep them apart for the outside world. But can somebody explain to me how I can use iRedMail to provide both domains with email addresses?
For example: what do I use as hostname?
I've also taken a look in the iRedMail admin panel and it allows me to add domains. Can I just add both my website domains there and start adding users (making email addresses)? Of course I've also Googled this, but I can't really find what I'm looking for.
Can somebody help me out? In short: I'm looking for a way to configure iRedMail so that it can supply both my domains with their corresponding email addresses.