What tutorial is it you are following? I can't really help find what steps you may have gone wrong on without knowing what tutorial you are using.
It sounds like there may be an issue with either the site settings for the testing server, or the database connection. are you using a local testing server? is the connection properly set to connect to the database. Is the testing server running?