How to route external domain to router website hosted in local virtualbox web server (Windows as host OS and CentOS 7 as guest OS)
There are test scenarios that requires a development site hosted in local web server accessible via live external domain. In this article, will show how to make a development site hosted in local virtualbox web server (Windows as host OS and CentOS 7 as guest OS). Note: make sure you have full administrator access to your router and the router's WAN IP is a public IP address.
Steps:
-
Open and configure your Vagrantfile. Add the following lines: