setup multiple domain on a single server

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
dl.perez
Posts: 10
Joined: Mon Nov 19, 2018 8:34 am

setup multiple domain on a single server

Post by dl.perez »

Hi All,

I am just a newbie here on zimbra and I just want to know how to setup multiple domain on a single server with a single IP address.

Thanks,
Dan
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: setup multiple domain on a single server

Post by pup_seba »

Hi,

Nothing special unless you need multi domain certificates. Just "zmprov cd nameofdomain" from CLI or go to the admin webui and clic your way through the wizards.

Then you should see all the configurations you can adjust in the web admin UI and try to adjust them...but even if you do not adjust those parameters, the domain is created and functional.

Regards,
dl.perez
Posts: 10
Joined: Mon Nov 19, 2018 8:34 am

Re: setup multiple domain on a single server

Post by dl.perez »

have already done that, it is created and functional but we cannot receive email from the outside, we can send but we cannot receive emails from the outside world.
thanks for the reply
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: setup multiple domain on a single server

Post by pup_seba »

Is the mx record for that domain in public dns severs configured?

Are you able to receive mails for other domains?
dl.perez
Posts: 10
Joined: Mon Nov 19, 2018 8:34 am

Re: setup multiple domain on a single server

Post by dl.perez »

Hi,

Yes the mx record for that domain is already configured as follows.

Type Name Value
mx mail.seconddomain.com mail.firstdomain.com

Is this setup correct?

Yes, I am able to receive mails from internal zimbra domain.

Thanks for the reply.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: setup multiple domain on a single server

Post by phoenix »

That doesn't tell us much, you're going to have to give a bit more detail than that. Go to the Split DNS wiki article and run the relevant dig commands, as shown in the 'Verify....' section of the article, for all your domains then post the output here.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
dl.perez
Posts: 10
Joined: Mon Nov 19, 2018 8:34 am

Re: setup multiple domain on a single server

Post by dl.perez »

Hi,

This is what I get when I ran the command, dig mail.seconddomain.com


; <<>> DiG 9.9.5-3ubuntu0.17-Ubuntu <<>> mail.rcqc.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24461
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.rcqc.org. IN A

;; ANSWER SECTION:
mail.rcqc.org. 0 IN A 209.146.26.234

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Nov 21 10:07:01 +08 2018
;; MSG SIZE rcvd: 47


Please see below the one for dig any command.


; <<>> DiG 9.9.5-3ubuntu0.17-Ubuntu <<>> mail.rcqc.org any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46518
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.rcqc.org. IN ANY

;; ANSWER SECTION:
mail.rcqc.org. 0 IN A 209.146.26.234

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Nov 21 10:08:20 +08 2018
;; MSG SIZE rcvd: 47

May this results helps.

Thanks,
D
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: setup multiple domain on a single server

Post by phoenix »

First of all, you didn't include any MX record info in there as described in the wiki article. Second, in this context, "mail.seconddomain.com" is not a domain it's a hostname. You need valid DNS MX & A records for each of the domains you you host i.e. 'domain1.com' (the primary domain on the ZCS server) then domain2.com, domain3.com etc., etc..... As I've mentioned already, each of those needs their own DNS MX & A records on an external DNS server. Are you running behind a NAT router or firewall?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
dl.perez
Posts: 10
Joined: Mon Nov 19, 2018 8:34 am

Re: setup multiple domain on a single server

Post by dl.perez »

Hi,

Will do that and post the results afterwards.

Yes I am running behind a firewall.

Thanks,
D
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: setup multiple domain on a single server

Post by phoenix »

dl.perez wrote:Yes I am running behind a firewall.
In that case you may also need a Split DNS configured to ensure that ZCS gets it's mail delivered correctly or have you already done that?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply