Submitted by jorgecardenas1 on Mon, 08/25/2014 - 17:07 Pro Licensee
I remember in CentOS 5 server I have setup an option to be able to work in a domain even before updated name servers, so the site can be developed but I can't find the procedure to do it. Please advise the steps.
Status:
Active
Comments
Submitted by andreychek on Mon, 08/25/2014 - 17:34 Comment #1
Howdy -- there are a few different ways of accomplishing that. Those methods are described here:
https://www.virtualmin.com/documentation/web/faq
Submitted by lewisjenkins on Thu, 08/28/2014 - 17:10 Comment #2
Another method (that I prefer) is to update the /etc/hosts file on your computer with a local DNS entry. You should Google 'edit hosts file' but basically you add an entry like this :
1.2.3.4 example.com
... where 1.2.3.4 is the IP address of your Virtualmin server and example.com is the domain you are developing. Once you have saved then if you browse to your domain from your computer it will use the local DNS entry rather than the public one. Easy :)