title: How to create absolute url on Yii https?
body: <p>I am creating a website which runs on https.. But when i create absolute url using</p>
  
  <pre><code>echo    Yii::app()-&gt;createAbsoluteUrl('site/index');
  </code></pre>
  
  <p>it always return <a href="http://mydomainname.com/site/index" rel="nofollow">http://mydomainname.com/site/index</a>.</p>
  
  <p>my expected output is <a href="https://mydomainname.com/site/index" rel="nofollow">https://mydomainname.com/site/index</a>.</p>
  
  <p>How can i create a url with https ?</p>