I used to use the domain name http://www.domain.com 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 http://somethingelse.domain.com. 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 :
if($_SERVER[‘HTTP_HOST’])
throw new CHttpException(404);
…
unfortunately, I didn’t find anything suspicious that could have caused this problem.
Any ideas?