Rubbing their nose in it will, likely as not, make a dog fear you.
Newspaper will, likely as not, encourage them to "go" in the house.
Catching them in the act is key.
A firm "NO" while they are doing it, followed by an immediate trip outside to the acceptable spot is much more useful. If they poop, take it with you and put it in a spot acceptable to you and then show the poop to him, reinforcing that this is the correct spot to put these things. Be careful of letting the pup see you do this, as they consider it "theirs" in the beginning and if they catch you stealing their poop, they may start "hiding" it in the house.
Pups can (within reason) hold their waste for about an hour per month of age. Also keep in mind that most dogs may have to poop, right after they eat, as firing up the salivary glands starts the digestion process. It isn't that they process it right away, but rather are eliminating from the last meal.
Repetition and consistency on your part will be the key. Go out of the same door, go to the same spot, hang a bell on that door if you like. The dog will associate this door with the need to eliminate, will start to go to the same spot to do it, possibly even ringing the bell to let you know.
If the pup is very young (this may sound disgusting), you can poke it in the behind with a paper match while in your "appropriate pooping spot". This will simulate momma dog giving them a bath and will stimulate him to poop. Once he goes, praise him ridiculously for doing so. You may only have to do this one or two times for them to get the picture.
All of my dogs that I've ever owned have been taught to go in a 10 x 10 spot in the back yard. It saves time "minesweeping" as nobody likes hitting dog turds with the lawnmower...
Good luck.