Setting up 'site' on dreamweaver Mac os leopard

Hi there, i have set up my apache server and php using a tutorial. and can navigate to http://localhost/ and have made a test.php which works

I’m trying to create a ‘site’ using dreamweaver.

When is asks me ‘what URL do you want to browse to your site’

i input http://localhost/admin
(i created a folder called admin in HD - lirbary - webserver - documents.

But it gives me an error! Everytime

“dreamweaver cannot use the prefix you enter to display live data”

Why is this? I want to be able to do everything locally. I have a mysql database at the moment on my server, but i am hoping to copy that to my computer and run it all locally.

I’m very newbie to this. I have always been an uploading maniac uploading everything so i can test it…

Please help!