The search is not working in SharePoint 2007

If you encounter the search is not working in SharePoint 2007 and received this error message:"Unknown Error. Troubleshoot issues with Windows SharePoint Services."

You care try the following solution:
Go to Central Administration -> Operations -> Global Configuration -> alternate access mappings.
Add the your website’s website via the Add internal URLS button and set it to Internet.