Have a look here if you are using PHP pages:
Creating a dynamic site definition in Dreamweaver
You already have set up the local testing server. WAMP is about the same as XAMPP so you can skip that part.
When you enter a URL like localhost/ it will take you to the webroot of the web server running on your local machine. So if you had your files in a folder called C:\xampp\htdocs\testwebsite, you would use the URL:
testwebsite/ in your browser to access the website. Remember that only one web server can run on the same port, so if you changed the Apache port to 8080, then you would use: