Cannot clone private project on local machine

I have a project on my gitlab and i’m not able to clone on my local machine.
git clone
but i see the error at the time of clone my project.

Cloning into ‘’…
ssh: Could not resolve hostname Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Please solve my problem.
Thanks in advance.

Hi jacob_1,

Seems to be a DNS issue,however I request you to post the output of the below command for further investigation.

to check the gitlab environment information(system information):
gitlab-rake gitlab:env:info

to check hostname of the machine:

verify hostname of machine:
cat /etc/hosts

to check url for gitlab:
cat /etc/gitlab/gitlab.rb | grep external_url

to check gitlab component:
sudo gitlab-ctl status

to check DNS on your machine and the machines you are testing your URL:
nslookup your domain name

to check the route:
traceroute your domain name

to check port is open for GitLab or not:
netstat -tlpn

to check selinux status:

to check any firewall enabled or not:
iptables --list