Virtual Server enable to use before propagation

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

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 :)