Ok, I have 3 virtual servers on the same IP (domain1.com, domain2.com, and domain3.com). They all work fine. I access Virtualmin/Webmin via https://22.214.171.124:10000 and all is great. I then decided two days ago to set my reverse dns through my VPS manager (not virtualmin). I pointed it at domain1.com. I have confirmed with my VPS host (Linode) that the reverse dns is in fact resolving to domain1.com. However, now https://126.96.36.199:10000 no longer works. So I tried https://domain1.com:10000, which did work a couple of days ago, now it does not work. So, I decided to try http://188.8.131.52 and low and behold it went to domain2.com. I asked my VPS host (Linode) about this and they said that the reverse dns only works to resolve back the IP address to a domain name, but it won’t necessarily take you to that domain if you use the IP. I was told this had to be a setting somewhere in Virtualmin/Webmin that when I use the IP address, Webmin is handing off my request to domain2 instead of domain1. So while having the conversation with the tech, I decided to check https://domain2.com:10000 and it worked. I got right to my Virtualmin login.
How do I set it so that domain1.com:10000 works again and 184.108.40.206:10000 for that matter? Also how do I set it so that when I use the IP as the URL, I get to domain1 instead of domain2.
I can tell you that domain2 is listed in the virtual server’s list 1st and domain1 is last, but I assumed it was listing them alphabetically (domain2 starts with “c” and domain1 starts with “s”)