Gitlab CE 8.17 Pages 404 Error

gitlab.rb

pages_external_url "http://pages.xxx.com:8058/"
gitlab_pages['metrics_address'] = ":9235"

follow the video

Congratulations! Your pages are served under:

http://root.pages.xxx.com:8058/test7

404 Error.

What shall I do? Thx.