title: Use same database on main domain & sub domain in wordpress
body: <p>I have a main domain <a href="https://www.pearltutorial.com" rel="nofollow noreferrer">https://www.pearltutorial.com</a> and I also have a subdomain <a href="http://besttutorial.pearltutorial.com" rel="nofollow noreferrer">http://besttutorial.pearltutorial.com</a></p>
  
  <p>I want both the domains to use the same database when visited. I've tried using Multisite but it isn't working.</p>
  
  <p>Any ideas on how to do this?</p>