I had configured hdp sandbox. To install HTTPD, had to edit http.conf file(have to give private DNS). Can you kindly let me know how to get private DNS and public DNS
Are you trying to configure private DNS? If yes, refer to link.