Did you initially set up the site with a .dev URL? If so, did you follow every step of this guide:
Also, when you do ssh into Vagrant box, does WP-CLI work? Perhaps, run something like wp option get home. That’s should tell you what the URL WordPress is set to use.