Setup Zimbra on Private IP at Amazon EC2 by Split DNS

By admin at 2018-10-01 • 1 collector • 3404 pageviews

My Resources Info

------------------

domain    asemtelecom.com

Public     IP   18.136.208.40

Private    IP    172.31.23.124  (Ubuntu 16.04)

Instance ID    i-063659877be4fbaa0

VPC ID    vpc-4d9fb82a

Zone        ap-southeast-1b

Instance type    t2.micro

Security Group    ksmail

AMI ID    ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180912 (ami-0eb1f21bbd66347fe)

EBS    30 GiB

Memory 1 GiB

CPU    1 vCPU

================================================


Domain Manager  by config Route 53 on Amazon Service

https://console.aws.amazon.com/route53

- Create Public  Host Zone

add domain  asemtelecom.com

add amazon nameserver at domain Registar is  NAME.COM

ns-612.awsdns-12.net

ns-1768.awsdns-29.co.uk

ns-54.awsdns-06.com

ns-1149.awsdns-15.org

---------------

Add DNS Record to Record Set

asemtelecom.com     A        18.136.208.40

mail                            A       18.136.208.40

imap                           A      18.136.208.40

pop                             A      18.136.208.40

smtp                           A       18.136.208.40

www                           A       18.136.208.40

asemtelecom.com        MX  10  mail.asemtelecom.com

---------------

- Create  Private Host Zone

add domain  asemtelecom.com

type select  Private Host Zone for Amazon VPC

VPCID | VPC region  =  vpc-4d9fb82a | ap-southeast-1b

Add Recod Set  with  Private IP  172.31.23.124  Same as Public Host Zone All Records

asemtelecom.com     A      172.31.23.124

mail                            A      172.31.23.124

imap                           A      172.31.23.124

pop                             A      172.31.23.124

smtp                           A       172.31.23.124

www                           A       172.31.23.124

asemtelecom.com        MX  10  mail.asemtelecom.com



-----------------

Port Forwarder

Select Security Groups

Select  ksmail group

select Edit button

Add  List of Zombra ports

SSH          TCP    22

SMTP        TCP    25

HTTP        TCP    80

POP3        TCP    110

IMAP        TCP    143

LDAP        TCP    389

HTTPS      TCP    443

SMTPS      TCP    465

Custom     TCP    587   (by kasem)

IMAPS       TCP    993

POP3S       TCP    995

Custom      TCP   7071    Zimbra Admin Console.

Custom      TCP   7110    Zimbra Default POP3

Custom      TCP   7993    Zimbra Default IMAPS

Custom      TCP   7995    Zimbra Default POP3S

Custom      TCP   8443    Zimbra Admin MailBox Access

-----------------------------

Edit Hosts

nano /etc/Hosts

127.0.0.1    localhost

172.31.23.124  mail.asemtelecom.com  mail

--------------

Edit Hostname

nano /etc/hostname

mail.asemtelecom.com

---------------

Next Step    Zimbra Installation   Follow me at


https://ikasem.com/t/1


---- END ----


Requires Login

Loading...