title: How to create a sub-domain in CakePHP?
body: <p>CakePHP version-2.5.5</p>
  
  <p>My domain name is <a href="http://www.thechatfun.com">http://www.thechatfun.com</a></p>
  
  <p>Profile page link - <code>http://www.thechatfun.com/users/profile</code></p>
  
  <p>Chat page link - <code>http://www.thechatfun.com/chats/index</code></p>
  
  <p>Above two link i want to looks like <code>http://profile.thechatfun.com</code> and <code>http://www.chat.thechatfun.com</code></p>
  
  <p>I am unable to make subdomain in the CakePHP.</p>
  
  <p>Please help me</p>
  
  <p>Thanks
  ChatFun</p>