To prevent the flow of air (or light) from passing under a door, make a long sausage from a nice fabric and fill it with rice before sewing it closed. Lay it at the bottom of the door (or window) and your problem is solved.