getaddrinfo: nodename nor servname provided, or not known (SocketError)
Some digging and it seems Chef uses the host name of the server its installed on as the default server name. You can over ride this default by creating /etc/chef-server/chef-server.rb and set :
nginx['server_name'] = "<server_name_fqdn>
nginx['url'] = "https://<server_name_fqdn>