Hello people
I have Virtualmin setup on my server ( Debian 6 x64 ) and I am trying to redirect one address from one of my domains to an external link.
I am trying to redirect test.mydomain.com to www.externalurl.com
The prefix test is of course not www or something like that, it’s like a sub server of the domain on its own.
I tried making a sub server then altered the dns records from virtualmin configuration but everytime I tried, test.mydomain.com redirected to another website on my server which was completely irrelevant ( I think this is a bug of Virtualmin because anytime I type “anything.domain.com” redirects to that particular web site on the server, apart from the actual domain and its www of course )
Any guidance would be appreciated. I already did this from my domain registrar’s panel but I had to use their DNS in order to have such options, so I switched the DNS’s back to mine and Im trying to figure it out how to do this on my own everytime I need it.
Thanks for your time!