Could gitlab & container registry using same domain?

Can I setup same domain name for both service like
Gitlab: https://gitlab.local.com
Container registry: https://gitlab.local.com

most of guide line is telling us to using different domain name for registry.

Im testing docker login it was success (runner/wsl)
Docker push give 404 error. (Runner)
Docker push give 403 error. (WSL)

I was tried make external_url https://gitlab.local.com:5010 for registry.
Then both(runner/wsl) docker login fail
Docker login gitlab.local.com:5010

You can use the same domain (I do too), but you have to specify the port, as you already realized.

Could you please share a bit more about your installation? (How did you install GitLab, full configuration (gitlab.rb), etc) This way community has more chances understanding your configuration and helping you.