Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Hosting on Github pages with own domain but my own email is not working

Hi,

I have converted my website using Jekyll now and started using the hosting at Github Pages. Previously I was using Dreamhost. I set up my email a while back on Dreamhost but it goes through Google apps. I assumed it would still work but I just realised that I not been getting any email through since to move.

So the question is really, whilst hosting on Github Pages with a custom domain how do I get my email me@mydomain.com to work.

Many thanks

Sul

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

Are you keeping Dreamhost for your email?

I do still have Dreamhost hosting but can I use that for email even though the domain is redirected to GitHub?

Kevin Korte
Kevin Korte
28,149 Points

Yes you can, or possibly Google apps. To be honest, I'm only vaguely familiar with google apps. But the gist of this is you'll need to set up records so that computers go to your github pages, and mx records will point mail traffic to your mail server (Google apps/Dreamhost). You may need to talk to your DNS provider support about properly setting up the records to do so, but I do know it can be done.

Have done something similar in the past for a company. They had their site and mail server on one, and decided to move their site to a company who builds and maintains sites, but they retained their server for the email side. We had to add records though to point mail traffic to the old server, not to the server the site was hosted on.

All sorted now thanks to Dreamhost, Namecheap and Kevin :)