Enable subdomain with existing Gmail email server

Hi All, I am new to the deployment process. I have a production site (which was created by previous developer), We are having some improvements to our application and planning on creating stage site. So far I have created new droplet and pushed the code in to it. And then created a A record with name stage to the existing domain name. I wanted to know is this the correct process to do. If not please guide me to a proper solution.

Now I am facing issue with my mail server. I am using gmail as my mail server. I have added my stage address to the gmail domain list and verified the domain with mx record. So for good, I am not sure what to do next. Please guide me.

Thanks, Balaji Nagamuthu

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

Everything seems correct so far, another option will be to create the subdomain on the same droplet as the main site and just use a Vhost to host the staging site during its development.

However, keeping the staging site on a separate droplet is still a very good approach.

For the mail side of things, you can test the mail delivery and check if your emails are both delivered/received okay. You can also look into using a third-party mail service provider like Sendgrid.

You can also check these articles:

Hope that this helps! Regards, Alex