Submitted by ADDISON74 on Mon, 06/20/2016 - 15:16
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
Submitted by JamieCameron on Mon, 06/20/2016 - 22:19 Comment #1
Does the first page on your website issue a redirect to a different URL?
Submitted by ADDISON74 on Tue, 06/21/2016 - 02:58 Comment #2
the answer is no
Submitted by JamieCameron on Tue, 06/21/2016 - 23:17 Comment #3
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.
Submitted by ADDISON74 on Fri, 06/24/2016 - 08:43 Comment #4
This is the link in browser status I am seeing:
https://www.mydomain.com:10000/virtual-server/link.cgi/www.mydomain.com/...
Submitted by JamieCameron on Fri, 06/24/2016 - 10:34 Comment #5
That link looks wrong - the link on the left menu in Virtualmin should be more like https://www.mydomain.com:10000/virtual-server/link.cgi/1.2.3.4/http://ww... , where 1.2.3.4 is the IP for the domain.
Submitted by ADDISON74 on Fri, 06/24/2016 - 11:28 Comment #6
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.
Submitted by JamieCameron on Fri, 06/24/2016 - 19:07 Comment #7
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.