The error message points to a problem with the URL Prefix setting on the testing server tab of the site definition.
One way to test is to copy the URL Prefix you entered into the address bar of a web browser. If it is correct, it will not generate an error.