You could use a booby trap to make the door scratching unpleasant. Secondly, hang a doorbell on your door for your dog to reach with its nose or paw. Thirdly, mount a gate on the doorway to block your dog's access to the door. Next, give your dog many exercise opportunities like taking a walk. Read more on http://www.ehow.com/how_2144972_stop-dog-scratching-door.html.
Take a wood panel the size of door area that is getting scratched. Put 2 rows of screws at each end about an inch away from edges. Now take some electric fence wire and go back and forth between the screws as to make a "grid". attach panel to door and connect a shock box to it. (get the smallest- just need to get their attention). You might try different materials for the ground pad in front of door to lighten the shock. My BIG dog used to slam into the metal door leading to pen. "USED TO!" He almost knocked me out one time when I was opening it he hit it so hard. The door hasn't been connected for almost a year now and he hasn't hit it once. If this seems too extreme then maybe you can live with a scratched up door. If you need your door, it works and they still love you.
You can get card board and put this sticky thing on to the card boared. Then put it to your door and your dogs will scratch that. The sticky thing can come off. But what if they scratch all of it off. Then put your dogs or dog in their cage and take the card board of that put another one on.
1 put a gate in front of the door 2 tape or glue on one of those cat scratchy thing on the door 3 pretend you leave (stand outside) ans every time they do it open the door and say "bad dog" and don't hit but tap them on the head as you say it
Crate train them. Put each dog in a crate of their own with a blanket with you’re sent on it (buy a few cheap blankets and sleep with them in the bed one night) it can help keep the dog calm. Also buy and this is the not so cheap part buy a Kong dog toy that you can put food in and the dog has to work to get it out this only works with the right sized crate each dog should be able to turn around, sit, lie down, and reach a small dish of water or a few ice cubes (ice cubes let the dog have water slowly and the dog won’t need to go to the bathroom to fast which helps with not having a mess in the crate)in it. I hope this helps and your dogs have a good experience with the crates. Good luck!
Unless you have electronic surveillance, they aren't really alone when you catch them scratching on the door, and even if you do, those dumb little creatures are smarter than you think. They know when you might check the video because they can smell your fingerprints. When they poop on things while you are away, they chose those things because they know you'll check them. Maybe they don't miss you as much as they just need to relieve themselves. But it's both. They miss you AND they need to pee/poo. Leave well-enough alone. Repaint the door periodically, and be glad they didn't chew up the sofa or poo on your bed while you were away.
I reckon spray it with something that smells bad but wont make him hate you, like citrus. a lot of dogs hate citrus. either that or put some sort of peephole in the door so it can still see whats going on inside. I think he's afraid that he's missing out on something important when he can't see inside.