With the exception of your websites' files themselves, all of the other configuration files and settings related to VirtualHostX's web server are stored inside the virtual machine - not on your Mac.
If you need to edit one of those files - Apache's main .conf file as an example - you have a two options:
In the following sections I will show how to edit the web server's main configuration file using the two methods above. The file we'll be editing is located inside the virtual machine (not on your Mac) here:
First, launch VirtualHostX and then click the "Terminal" button in the app's toolbar to connect to the virtual machine.
In the Terminal window that appears, type the following command and press return:
The nano text editor should open in your Terminal window and show the contents of that file. You can make any neccessary edits and then save your changes. Here is a tutorial for using nano.
Using a 3rd party app like Transmit or ExpanDrive will let you browse the virtual machine's filesystem and edit files using your preferred macOS text editor. Here are instructions for connecting with Transmit:
Create a new connection and enter the following settings:
Protocol: SFTP Host: 172.17.0.10 Port: 22 User Name: vagrant Password: <leave blank>
Instead of using a password to connect, we need to use a "private key file".
You can now click the "Connect" button to log in to the virtual machine and browse your files. I recommend saving your connection settings as a favorite within Transmit to remember your settings for the next time.