Custom domain shows the wrong web page
Summary
I've created a repo: franferri.gitlab.io I've added a custom domain (franferri.io)
I've created a folder called public in the repo and a file called index.html in it.
When I access franferri.gitlab.io I see the index.html correctly and the certificate is correct When I access franferri.io I see a page I've created years ago as a test. And the certificate is complaining to be issued by *.gitlab.io so is not correct.
Steps to reproduce
Access to: franferri.gitlab.io Then access to: franferri.io
Example Project
https://gitlab.com/franferri/franferri.gitlab.io
What is the current bug behavior?
The public folder is not getting updated for custom domains, only for the namespace.gitlab.io ones. The certificate for the custom domain don't seems to be working properly neither.
What is the expected correct behavior?
You see the same page in both urls: franferri.gitlab.io and franferri.io And the certificates match the domains in the issuer fields.
Results of GitLab environment info
The job that updates the pages finishes always ok
Results of GitLab application Check
The job that updates the pages finishes always ok
Possible fixes
Not sure about this but maybe you need to remove the public folder and create it with the proper permissions?
Related issue I've open: https://gitlab.com/gitlab-com/support-forum/issues/4926