To use host-only networking, you need to make sure that the option is selected for installation. This can be done when you're installing the application.
You can see the in the image below where is located:
After this procedure, create a new virtual machine and access its Settings when you've finished creating it. Click the Network on the left, and select Host-Only Adapter. You can see in the image below as well.