Two domains in one droplet with google MX records

May 7, 2018 139 views
Apache Email LAMP Stack Ubuntu 16.04
dahdoul
By:
dahdoul

I know how to configure Virtual Hosts, but how configure two domains in the same droplet to use G-Suite MX records using Digital Ocean DNS from the Dashboard?

For Example:-

my main domain is example.com and my secondary domain is example2.com how to configure both doamins with G-Suite MX records?

2 Answers

There is nothing special needed for this configuration. Despite sharing the same droplet for web, as far as google is concerned for email these are two completely separate domains. You can set up the gmail MX records for both with our built in tool located in the MX section of the DNS tool.

Thank you, so I add two domains via DNS tool, then setup gmail records for each domain separably ?

Have another answer? Share your knowledge.