I'm only 17 weeks, but I am already thinking about how the delivery will be. I'm a very private and independent person and I would hate to have anyone else besides my husband, doctor, and nurses in the delivery room. And I definitely don't want anyone waiting at the hospital to come and see the baby right away, or in the waiting room for that matter. Seeing me at the hospital just gives them a visual image. Stop it! So, how could I tell people to not come visit at the hospital at all, they can come visit us at home, if they'd like.
Re: No visitors while in hospital!
Say "please don't come visit at the hospital". Easy. Just be honest.
Plus, I feel like when you're in the hospital you have people who can limit the visit, if you need to. When you're at home, it usually gets pretty hectic for that first little bit, trying to settle in with babe. I would hate to have to schedule in a whole bunch of random people who want to see the baby while I'm at home trying to adjust, without the help of medical staff.
But like pp said, do what you're comfortable with. And if no visitors is what you want, then own it and straight up tell people. There isn't really any other way to do it.