title: Connecting a website to a database
body: <p>I am sorry if this is the wrong stack exchange, if so please redirect me.</p>
  
  <p>I am very much in doubt about how I go about the following, and I can't really seem to google my way to a solution, so here goes:</p>
  
  <p>Let's say I have a website which basically only consists of a search bar, which I want to link up to a database which every user can search in. In addition to this I want to be the only one who can actually add new data to this database.</p>
  
  <p>To do this, would I basically "just" buy a website domain, make some SQL query hookup to a database that I rent from fx Microsoft Azure? Then whenever people would search for a string the website would query the database and return any relevant information.</p>
  
  <p>Is this the correct way to go about this issue?</p>