UPDATE : Original question was solved by giving proper authentication method to the current user in IIS.
Would like to change my question like this: When I browse my site I am getting following error.
Cannot connect to the configuration database.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.
I tried creating a VPC for a windows server 2003, with MOSS 2007 setup. While creating the VPC we given new host name and new IP.
However when trying to access the site deployed in the VPC, from inside the VPC itself we are getting an error like service unavailable.
Moreover when I am trying to access center administration, it is using old host name? what should I do, Please help me with it.
I tried IIS Reset , and starting the website from inetmgr but nothing works.