The number one way to get more students for online courses is to actually interact with your students. No matter what courses you teach, interacting with students is the key.
Before you start to wonder, the other things mentioned earlier are also important. However, they are supplementary and not the true value behind learning. Most students want to learn and make sure they leave with knowledge and a great experience.