Question

Can I use the same domain for 1 website and email

Posted April 16, 2021 125 views
EmailDeployment

Let’s say I purchase the domain example.com

And I have a website setup for https://example.com and https://www.example.com

Now I want to get an email like support@example.com or me@example.com

Is it possible to use the same domain for both?

I have a domain name that I bought on Namecheap and I have a website using it but I want mail too

Thanks for your time!

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
1 answer

Hello there,

Yes, this is totally fine. You can use your domain for emails and building a site using it at the same time.

You can manage the DNS via Namecheap or via any other provider as well. The DNS record that is responsible for the emails is the MX records and the one which you need to point to the IP address of the server where the site is hosted is the A record.

If you’re hosting your site on DigitalOcean droplet and you want to set up email accounts this is fine. You can also create email accounts and host them on Gmail as well. You can check this article:

https://www.digitalocean.com/community/tutorials/how-to-set-up-gmail-with-your-domain-on-digitalocean

Hope that this makes sense,
Regards,
Alex

by Mitchell Anicas
One way to send and receive email through your own custom domain is to use a third-party mail service, such as the mail service included with Google Apps (Gmail) or Zoho. The main benefit of using a third-party mail service, as opposed to managing your own mail server, is that you can avoid performing the ongoing maintenance that running a mail server entails. This tutorial will show you how to set up Gmail with your own domain that is managed by DigitalOcean's Domain Name Servers.