It all depends on the size and extent of the work to be done. For large projects, pricing a website requires a 30-40% deposit to get started, then a second payment midway through the job, and a final third payment when the website goes online.
For small or medium projects, two payments are generally requested, the first to start the work and the second when the website goes online, as agreed.