Hello, I'm trying to figure out how to redirect subdomain to a local IP (residing in the internal network where ISP config reside) I'm running it Virtualized on my local LAN, for testing purposes, and I would like to point a subdomain to point to another server residing in the same LAN. Is it doable? Am I missing something? Thank you
If it's for testing, then I would simply add the subdomain to the hosts file on your desktop. This works for Windows, Linux and Mac desktops.
I would like to understand how to set it up in a more complex infrastructure: very often it happens that ispconfig runs as a VM in a virtual environment, I would like to be able to point subdomains to other VM running different web based services.
You can do this with a dns server in your local network or with the hosts file on the desktop that you use to access the servers.