How do you scale a website When the users of the website increase what procedures should be taken to speed query and prevent website crash?

Answer:
A typical cycle is generally moving from shared hosting to dedicated hosting, tweak the database and webserver till it has max out the server ability, then split the database to a dedicated server with the webserver on another dedicated server, and add servers to each of the cluster as the load increases.
Note: There are comments associated with this question. See the discussion page to add to the conversation.
First answer by Dotservant.com. Last edit by Dotservant.com. Contributor trust: 14 [recommend contributor recommended]. Question popularity: 20 [recommend question].