Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Suleiman Leadbitter
15,805 PointsHosting 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
28,109 PointsAre you keeping Dreamhost for your email?

Suleiman Leadbitter
15,805 PointsAll sorted now thanks to Dreamhost, Namecheap and Kevin :)

Kevin Korte
28,109 PointsCool! Good to hear!
Suleiman Leadbitter
15,805 PointsSuleiman Leadbitter
15,805 PointsI do still have Dreamhost hosting but can I use that for email even though the domain is redirected to GitHub?
Kevin Korte
28,109 PointsKevin Korte
28,109 PointsYes 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.