Question: How to get the server name using the Yii Framework 1.1.x?
Answer:
Use the code below to obtain the server name
Yii::app()->request->serverName
Go Daddy $7.49 .com Sale!