Where to add custom domain?

Where to add custom domains in latest version of gitlab?
The documentation only show an old version and I can’t find a domains / pages category anywhere. :confused:

Thanks!

The setting is in Settings -> Pages. However I have some trouble with it, it doesn’t work for me yet.