admin.domiain.tld does not redirect to https://domian.tld:10000

I am aware of the setting in Virtualmin to forward admin.domain.tld to virtualmin, and I have it set. But on a couple of my domains the forward only works partially, it forwards to the site but not the port: https://domain.tld and I see index of in the browser window.

is there a way to fix this manually, edit the redirect that virtualmin is using?


Hmm, you may need to take a look in the Apache config, in the VirtualHost block for the domains that aren’t working, to see where those domains are set to redirect to.

On CentOS, that’s in /etc/httpd/conf/httpd.conf. In Ubuntu/Debian, those are in /etc/apache2/sites-enabled/.