write code for news virtual host not in the httpd.conf

How is possible to write the code for news virtual host not in the httpd.conf but in apposite file? I see that this is possible (there is some options) but not work; which are the correct steps?

This appears to be a duplicate of this post here:

https://www.virtualmin.com/node/21711