Custom domain's subpages not redirecting to GitLab subpages

Hi!

I have created a custom domain (https://www.nalkas.nu/) that I am to point to my GitLab project (https://joafr.gitlab.io/blog/). So far I have:

  1. Registered a custom domain via CloudFlare.
  2. Deploy the pages by connecting the GitLab repository to Netlify
  3. Setup deployment to the custom domain via Netlify

Now, I manage to get the main page https://www.nalkas.nu/ to point to https://joafr.gitlab.io/blog/, but I do not manage to get any subpages, like https://www.nalkas.nu/blog/posts/2018-12-20-introductory-course/ to point to https://joafr.gitlab.io/blog/posts/2018-12-20-introductory-course/. As you can see I am getting 404:s when I try to access these subpages.

I hardly know any HTML or JavaScript or anything so please be gentle and very explicit in your replies. I would be very, very grateful for some help here.

hey there, is this helpful at all?

Yes, thank you! Sorry for posting similar issues several times.

1 Like