Domain to VirtualBox Ubuntu Sever
Posted: 26. Mar 2022, 19:26
Good day,
I am trying to forward a domain name to an ubuntu instance in VirtualBox.
The domain is forwarded to the router IP address using A record, this works fine when checked.
The router IP xx.xx.xx.xx is forwarded the computer IP 192.168.y.y
The computer IP 192.168.y.y is forwarded to the virtualbox instance IP 192.168.z.z
Last step was created using netsh command in Windows, when using netsh interface to check it show that it is correctly configured.
In the virtual machine instance, I am using both host-only adaptor and NAT, this enables access to the server from the local computer and gives access to the internet.
I am using Windows 10 for host system and Ubuntu 18.0.4 for the virtual server with Nginx installed.
I can access the Ubuntu server locally without problems. It can access the internet without any problems. When trying to access the domain name the browser replies with "This site can’t be reached".
Now, although everything seems to work fine, but actually it does not.
Anyone who can help what to do?
Thanks a lot.
I am trying to forward a domain name to an ubuntu instance in VirtualBox.
The domain is forwarded to the router IP address using A record, this works fine when checked.
The router IP xx.xx.xx.xx is forwarded the computer IP 192.168.y.y
The computer IP 192.168.y.y is forwarded to the virtualbox instance IP 192.168.z.z
Last step was created using netsh command in Windows, when using netsh interface to check it show that it is correctly configured.
In the virtual machine instance, I am using both host-only adaptor and NAT, this enables access to the server from the local computer and gives access to the internet.
I am using Windows 10 for host system and Ubuntu 18.0.4 for the virtual server with Nginx installed.
I can access the Ubuntu server locally without problems. It can access the internet without any problems. When trying to access the domain name the browser replies with "This site can’t be reached".
Now, although everything seems to work fine, but actually it does not.
Anyone who can help what to do?
Thanks a lot.