How to map domains on a local Vagrant VM?

I installed HestiaCP on a virtual machine setup with Vagrant. Here is the vagrant file:

Vagrant.configure("2") do |config| = "bento/ubuntu-22.04" "public_network", ip: ""
  config.vm.hostname = "myhost.local"


So I can access HestiaCP on my hosts web browser by going to myhost.local:8083. But now I need to be able to access the other domains. For example if I create a WordPress blog on the domain blog.myhost.local, how can I access this from my host machine?

I tried adding this to my /etc/hosts file: blog.myhost.local
but it doesn’t work. Its basically the same as myhost.local.