You basically have three options to ferry a plane over a greater distance than its maximum range (assuming no surface-based fuel stops are available):
1. Install ferry tanks (usually bladders in cargo and/or unoccupied passenger compartments). These types of flights usually require special permits to be arranged in advance, as the additional fuel tanks are not part of the certified aircrft design and the additional fuel weight often exceeds one or more of the maximum weights listed in the aircraft specifications.
2. Aerial refueling. See: military. (Side note: I've always wondered why this has not happened yet with air carriers. It's a safe and well-established procedure, and most long-haul airline captains probably have prior experience with tanking in the military).
3. Knock down the A/C (or, in the case of a new A/C, leave the last assembly steps unfinished), and ship it inside a ship or cargo airplane. Helicopters get transported this way very often, and many planes can be quite compact once you remove the wings. This is how we get all those EU-built gliders over here in the USA.
I can't think of another procedure, but someone else may correct me.