I would like to switch from WordPress to Jekyll. I already have migrated the articles (see new Jekyll articles + rendered page and old WordPress site).
Now I would like to have the old URLs:
Old URL : http://martin-thoma.com/word-error-rate-calculation/
Current new URL: http://martinthoma.github.io/word-error-rate-calculation/
So this question is really only about the top level domain. My provider (called "Knallhart") should only "hold" the domain martin-thoma.com
(GitHub does not offer this, do they?) and GitHub should serve the content.
When a user enters http://martin-thoma.com/word-error-rate-calculation/
or http://martinthoma.github.io/word-error-rate-calculation/
the browser should show http://martin-thoma.com/word-error-rate-calculation/
, although the content is at GitHub.
I know the GitHub page Setting up a custom domain with Pages, but I still don't understand what I should do.
I've tried adding a CNAME file with content martin-thoma.com
to my GitHub repository, but this only lead to an redirect from martinthoma.github.io
to martin-thoma.com
. I've just tried adding a CNAME with content martinthoma.github.io
on the webspace provided by Knallhart. This seems to have no effect.
I think I have to change something on GitHub as well as with Knallhart. GitHub has to know that it should display martin-thoma.com
and Knallhart has to redirect to the content. But I don't understand how to do this. What do I have to change on GitHub and what do I have to do on side of my provider?
Can I do this by my own or do I need support from Knallhart? I currently have a quite cheap plan that basically only offers Hosting+PHP+MySQL. If I pay 6€ more, I get a Zone-Modul (which has the description "DNS controll for your domain"). Do I need a Zone-Modul?
A
record and how do I create it? What about the Zone-Modul question? – Forsyth