Gitlab is not accessible from other computers on the same network
I have configure my host name as external url in gitlab.rb flle as follow: external_url 'http://ideapad-700.com'
I configure my hostname as follow as in the /etc/host 127.0.0.1 localhost 127.0.1.1 ideapad-700 192.168.20.188 www.ideapad-700.com
I can access the this url from the same computer ( in which i have installed the gitlab omnibus latest version in Ubuntu version 16.04)
When I try access the same url (www.ideapad-700.com) from other computer on the same network , browser does NOT able to access the gitlab user login page. If type IP address as 192.168.20.188 from other computer on the same network , browser able to show the gitlab user login page.
Why I can't acccess the gitbal using url (www.ideapad-700.com) from other computer on the same network) ?
root@ideapad-700:/# sudo gitlab-rake gitlab:env:info
System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.3.1p112 Gem Version: 2.6.6 Bundler Version:2.3.0 Rake Version: 10.5.0 Sidekiq Version:4.1.4
GitLab information Version: 8.11.3 Revision: 6cd4edb Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: http://ideapad-700.com HTTP Clone URL: http://ideapad-700.com/some-group/some-project.git SSH Clone URL: git@ideapad-700.com:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 3.4.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git