Using a custom domain name with Pages and can't access Webmail

I have my github.io configured with a custom domain name, but I get a 404 page when I try to access my webmail account at mail.(mydomainname).com

How can I fix this? I basically just want to log in there once so I can get a code to set the email up in Gmail.

This could be an issue with the DNS setup for your domain, or could be an issue with the type of site you’ve hosted on GitHub Pages. Without being able to see the site and the domain I can’t be sure exactly.

  • Would you be able to post a link to your site?
  • Is the site you’re hosting a single page web app?
  • When setting up your domain, do you remember exactly which DNS settings you changed/added to point it towards GitHub Pages?

I actually was just able to solve it. The issue was with the MX record.

Thanks for the info!