Two domains in one droplet with google MX records

Posted May 7, 2018 2.8k views
ApacheLAMP StackEmailUbuntu 16.04

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 and my secondary domain is how to configure both doamins with G-Suite MX records?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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 ?