Banging pipes is a common problem and is caused by the pressure of the water coming to your faucet. Water pipes in older houses especially arenít installed to counter this. The easiest way to fix the problem is to secure the pipes using pipe straps. Usually the pipes bang directly under the sinks because there is nothing holding them in place. If this isnít the problem please give more detail. -Gregg
You can purchace a cheap water psi test gauge from any local hardware store, home depot. Install the gauge to your outside hose faucet connection, turn on the water, a residential house should not exceed 75 psi, if it does then you need a PRV (pressure reducing valve) installed. The valve slows down the flow volume rate a little, and stops this as well as proper pipe strapping. The device (PRV) should be installed where the main water enters the house.
Go under each sink and toilet and check that on/off valve is fully open. Some claim that a partially opened valve causes the banging. I had some success. Next check valves to rear of refrig, furnace humidifier. Lastly shower/tub valves which are harder to get at. Or, start in area where most recent plumbing mods were done that were fine before.