I am using digitalOcean vps to setup Nginx(the default one). I can use curl xxx.com on the server and get the content
curl xxx.com