Help with URL subdomain

I am trying to make a subdomain using yii url manager but I can’t make it work.

Here is my code:





                '' => 'auto/list',



I am new to yii so please help me.

Hi, you have to provide full host info then:

'' => 'auto/list',


Thank you for replying. Also tried it but it still doesn’t work

Another follow up question:

I have a controller named auto so using url manager I will be able to use the url which worked but all of a sudden it doesn’t work anymore instead it is looking for an index file in a folder named auto. But if I changed the url to the url works fine. What supposed to be causing this problem?