Setting up a space to test a site is important. The process of creating the test space often is referred to as a Beta Site, Dev Server, or Staging Server. If you already have a host environment, you may set up a subdirectory to store the sample site. This is a great approach as the features and functionality of the host environment are already present, and once the site runs without error, simply move the files to the main root directory.
If a host space is not available, you may need to mirror its functionality and create a local copy. Depending on your chosen technology, solutions are available to download.
The following are key features:
Sample server environments for download: WAMP Server: http://www.wampserver.com/en/