I have set up a new virtual server and have copied over my old website. I want to test it before switching my dns.
I have been using the preview site option but as soon as I try to type a URL manually (e.g. /administrator to access the backend) I am faced with a security warning:
Warning! Webmin has detected that the program https://MY DOMAIN:10000/virtual-server/link.cgi/IP ADDRESS/http://MY URL/administrator was linked to from an unknown URL, which appears to be outside the Webmin server. This may be an attempt to trick your server into executing a dangerous command.
I have had a look at the steps mentioned:
[code:1]If your browser does not send the Referer header needed, you can turn off this check as follows :
Login to Webmin normally.
Go to the Webmin Configuration module.
Click on the Trusted Referrers icon.
Check the Trust links from unknown referrers box, and click Save.
Alternately, you can configure Webmin to allow links from unknown referers by :
Login as root, and edit the /etc/webmin/config file.
Find the line referers_none=1 and change it to referers_none=0.
Save the file.[/code:1]
But havn't had much luck finding the right places to set these.
Is it possible for me to amend the trusted referrers settings for a short time?
Or is there a better way for me to access the URL without using the Webmin panel - I have a colleague who would like to preview the site and I just want to give them an URL and not access to login to the server.
Thanks for any help with this.
Regards,
M Michael