How to get to Pages using www in URL?

l can get to my GitLab Pages website via the domain links under

Settings -> Pages -> “Your pages are served under:”
https://my-domain.gitlab.io
https://my-domain.com

However, when I place this in my browser …
www.my-domain.com

I get a 404. I’m guessing this is a DNS record of some sort I’m missing? Anyone know?

What is your GitLab version? Once upon a time I had a similar problem, but it was a result of a bug fixed in GitLab 9.3.

Hi,

You can add your domain including the “www” to your ‘pages’ settings. Additionally, if you want to redirect the requests including “www” to your non-www domain name (my-domain.com), I suggest you refer to this doc where it explains how to do the direction via DNS records.

Best Regards,
Nilanka