Preview Website redirect not working

Go to Virtualmin -> Services -> Preview Website.

In my case it opens a new tab with the following address:

https://www.mydomain.com:10000/virtual-server/link.cgi/www.mydomain.com/...

Page is empty. In my opinion the address is built wrong.

Status: 
Active

Comments

Does the first page on your website issue a redirect to a different URL?

Is that URL the destination for the "Preview Website" link then? You should be able to see it in the status bar when you mouse-over it.

I will try using in my browser an address containing the IP for the domain as you suggested and see what's happening. I am not qualify to check from what script that link is generated, but I got this issue with a test environment without having any changes and I reported at once.

What's confusing to me is that the link in Virtualmin on the left menu should ALWAYS contain the IP after link.cgi , not the domain name.