Topic: Hosting email and websites on seperate servers
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS Server 32bit
- Related log if you're reporting an issue: n/a
====
Hi all, I'm after some clarification hopefully!
I have two servers, one to host email with iRedMail and one to host websites using Apache and virtual domains.
Could somebody more knowledge please confirm that I would be correct in doing the following:
Namecheap.com DNS pointing "@" and "www" (A Records) to the ip address of my webserver
Namecheap.com DNS pointing "mail" (MXE) to the ip address of my mailserver
I have an SSL certificate for mail.domain1.com - all other domains access their email through mail.domain1.com
What I can't work out is, if this is correct, what happens when someone tries to access https://mail.domain1.com or https://domain.com/iredadmin if my websites are being pointed at the webserver?
Am I overcomplicating it by doing this?!! I wanted to do it because there have been some DDoS attacks on UK-based VPSes recently and I would ideally like to host it seperately, so hopefully if one goes down, at least the other is still up.
Currently, I have a webserver which is sitting pretty, doing nothing (just has a 1:1 copy of websites and related databases) and all websites and email are being served by the single server.
Thank you in advance!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.