Changes domain to local IP address in URL

The only two things I can think of it.

  1. external_url in gitlab, what was it configured with? IP or hostname/domain name for use with Gitlab?
  2. you mention keenetic router? Is this working as a proxy and if so, what is its redirect configuration?