I have a VPS server on Hostgator that is a semi-managed server, meaning:
Virtual Private Servers that does not include a web hosting control panel (cPanel or Plesk), so I am working from Putty.
I have the ability to get to my website on the server by entering the IP address in a browser window, but not through the domain name. Does anyone have any idea of which file I need to edit so the site can be resolved by name?
Thanks.
2
Answers
If you like this ‘visibility’ to be set up for you only then edit windowssystem32driversetchosts file. Otherwise you have to contact your ISP to set up a DNS records for this IP.
P.S. this question is off topic at stackoverflow
The file is
Check out this site about configuring a LAMP server