getting 404 page after changing domain name

I used to use the domain name for my yii based site. It has been working for quite a long time. Today I reconfigured my web server so that the domain name becomes And no matter what url I try, the site always gives me the 404 page which I configured to be site/error action.

I’ve already searched the whole code base and looked for possible code points that does something like :


  throw new CHttpException(404); 

unfortunately, I didn’t find anything suspicious that could have caused this problem.

Any ideas?

Try posting your general config and urlManager part.