WebFaction
Community site: login faq

I just moved a static site to Github Pages, which required me to make some changes.

The setup I used to have in my control panel was:

  • The domain www.my-domain.com was a Cname pointing to my-domain.com.
  • The domain my-domain.com was serving the website I had in webfaction.
  • Email to chris@my-domain.com was working fine.

Now, I have changed to using www.my-domain.com as my main site, and my setup looks like this:

  • The domain www.my-domain.com is a Cname pointing to myusername.github.io.
  • The domain my-domain.com is serving nothing, and is set to webfaction for hosting and email.
  • I don't know if email is still working yet, but I assume it is.

I thought I could just change the bare domain to a Cname pointing to the www version, but it looks like that will mess up email. Is there a way I can still get email to work while having the bare subdomain point to the www version, which is a Cname to GitHub?

Thanks!

Edit:

I implemented the redirect application as described in the link, and http traffic is working, but now emails are not reaching my inbox. Is there a way to debug this? I didn't make any changes to the domain other than changing the application.

Edit to edit It looks like emails are actually being delayed by a few hours, or dropped. I'm going to open a support ticket instead. Thanks!

Domain in dashboard

asked 26 Mar '15, 04:39

Chris Cooper
315
accept rate: 0%

edited 30 Mar '15, 20:03


You are correct that using a CNAME to point "my-domain.com" to "www.my-domain.com" would break email. This is because a CNAME means that one domain should inherit all of its DNS records from another domain, including MX records. So, creating a CNAME would cause the domain to inherit incorrect MX records and therefore break email.

Your stated goal is to "point the bare domain to the www version", but it's actually more specific than that; you don't want to point everything (including email), you really most likely only want to redirect HTTP traffic.

If that's true, and what you really want is just to redirect HTTP traffic so that the bare domain can be used in a browser, then you will want to use an HTTP Redirect application, not a CNAME record. Hope that helps!

permanent link

answered 26 Mar '15, 08:24

ryans ♦♦
5.0k73058
accept rate: 43%

Thank you! This is working. :)

(26 Mar '15, 12:19) Chris Cooper

Hey again, I made an edit with an update to this after following those directions. Do you mind taking a look? Thanks, Chris

(30 Mar '15, 18:12) Chris Cooper

Hi Chris, feel free to open a support ticket and we'll be happy to take a closer look at your setup.

(30 Mar '15, 22:14) seanf

If you set up a 301 HTTP redirect like this, then your users will see the "USER.github.io" domain name in their browser URL bar when they get to your site.

(11 May, 19:08) Jonathan Har...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×257
×128
×19

question asked: 26 Mar '15, 04:39

question was seen: 1,724 times

last updated: 11 May, 19:08

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM