I publish my project to GitLab Pages and add my custom domain. Now I want to redirect the default GitLab url username.gitlab.io/project
to my domain name mydomain.com
. I add two records in DNS as below:
www.mydomain.com CNAME mydomian.com
www.mydomain.com CNAME username.gitlab.io/project
but it dosen’t work. How should I do?