title: how to point all domains on server to one particular database
body: <p>my requirement is like this 
  on my server i have 4 domains which all have same functionalists. with single admin.</p>
  
  <p>All the domain oriented manipulation has to be done from single database. that single database will be there in one domain.</p>
  
  <p>Scripting language i'm using is PHP.</p>
  
  <p>Example :</p>
  
  <p>www.1domain.com (which has database for all domains).</p>
  
  <p>www.2domain.com (which should uses www.1domain.com database)</p>
  
  <p>www.3domain.com (which should uses www.1domain.com database)</p>
  
  <p>www.4domain.com (which should uses www.1domain.com database)</p>