Answer the question
In order to leave comments, you need to log in
How to forward all ports from VirtualBox to a subdomain?
There is a server under Windows, on it is a virtual machine with debian.
Is it possible to somehow redirect all connections to a subdomain like server1.site.ru
Here I tried to forward ports, but it doesn’t work to enter the lines there.
You need to forward ports in the range 1-35000, so that the virtulka responds only to server1.site.ru
and Windows responds to site.ru
Answer the question
In order to leave comments, you need to log in
Is it possible to somehow redirect all connections to a subdomain like server1.site.ruOf course, you just need to set up port forwarding.
Here I tried to forward ports, but it doesn’t work to enter the lines there.Of course, because the IP address consists of numbers.
You need to forward ports in the range 1-35000, so that the virtulka responds only to server1.site.ruNobody responds to anything. A host can be accessed either by IP address or by a name that resolves to an IP address. Ports here are generally not important in any way, and do not matter.
and Windows responds to site.ru
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question