3

I have a website for a education project. It lives at this github repo. I tested it at https://equalitytime.github.io/whitewaterwriters-site/ and it worked as expected, but then I changed it to a custom domain and now it looks like this.

If I fork it to my personal github and then serve it again, it looks normal again

What is going on?

My settings for the custom domain are:

enter image description here

Compared to the forked (working) repo:

enter image description here

...and the DNS records I edited to make the custom domain work are:

enter image description here

My questions are:

  • Why is the site working differently?
  • How can I make it work?

2 Answers 2

3

Your baseurl in your _config.yml needs to be cleared, since you are no longer serving from a subfolder.

I've submitted a pull request that fixes it.

1
  • You absolute superstar!
    – Joe
    Sep 8, 2020 at 9:42
1

I want to add my experience because the baseurl was empty to begin with. However the url in the _config.yml file had the original example.github.io as the address. I changed it to the apex domain name that I owned and configured in Github. For reference, I was using the academic theme by LeNPaul in Github.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.