upon checking the same url it is redirecting me to site1
I had completed this setup couple of days ago and during the setup it was running as expected. but now is redirecting to site1 instead of webmin dashboard
using http://IP:10000 it is working as expected.
Can i add nginx to same server and proxy it to 10000 or how shall i fix this.
Nginx and apache on same host caused port conflict last time as both webserver listens on port 80.
generally speaking “no” you cannot have nginx on an apache server and you should be asking “Why on earth?” - they both do the same job (but in different ways).
Tried turning off proxy, currently set to DNS only. Still the same.
My main concern is i am getting redirected to site1(dot)domain(dot)com when i enter webmin(dot)domain(dot)com
i want subdomain webmin.domain.com to point to webmin dashboard.
I had created 2 virtualservers using virtualmin out of which site1(dot)domain(dot)com is one and another one is site2(dot)domain(dot)com
I would try removing that sub domain, this assumes you created it using virtualmin or it has an apache configuration file, that is loaded. All domains created via virtualmin will configure the correct redirection for each domain. So you may find that admin.webmin.domain.tld works, again assuming virtualmin created the domain
You need to log into your webmin and change the port access number to one that cloudflare supports, preferably the https list such as port 8443.
After changing the Webmin port to one that cloudflare supports, you will still need to enter the new port number after like this: (https://webmin.domain.com:8443)
Most issues appear to be the user thinking they know better than virtualmin, do some off roading and fail ! However if you read what is in front of you and apply the default template everything works