Need help in redirecting WWW to non-WWW in Gitlab Page

I have setup Jekyll, Gitlab page and also added domain for the page. I read here( that Gitlab currently doesn’t support .htaccess so we can’t add redirection. But I was wondering if there’s any other way to redirect from www to non-www version apart from the meta tag redirection method. Thanks!

Did you ever find an solution for this? I am having the same problem

I just added (and verified) another domain in gitlab with the www prepended to it and it seems to have worked.

You can use CNAME record (www) to point to your A record (the site IP).
This is discussed here at Stackoverflow or you need to add www to gitlab pages which is the answer here