Submitted by Lucian on Tue, 02/02/2021 - 08:38
Hi,
I am not able to create domains on a newly installed (if it matters) Virtualmin. Managed to find out that the process of create-domain relies on finding out the external IP address obtained by a service that is down.... Not sure this is the wisest idea.
http://software.virtualmin.com/cgi-bin/ip.cgi returns 404..
If you replace it with ip.nux.ro or ifconfig.me in virtual-server/dynip-lib.pl then one can create domains again.
Worth mentioning my system does not have a private IP address, it's a "proper" IP, but I do have a private IP for the defaul route (standard issue @ Hetzner Cloud).
PS: Oh .. I see the entirety of http://software.virtualmin.com has been nuked. This essentially breaks the installer, doesn't it, as well as apt/yum repos.
Status:
Closed (fixed)
Virtualmin version:
6.09
Webmin version:
1.942
Comments
Submitted by Lucian on Tue, 02/02/2021 - 08:42 Comment #1
Submitted by Lucian on Tue, 02/02/2021 - 09:26 Comment #2
Ok, found a workaround as well:
sed -i s/"dns_ip=*"/"dns_ip="/g /etc/webmin/virtual-server/config
Though this will not help people running off private IPs in AWS and elsewhere. Changing the IP "discovery" service as suggested in the main body of the issue should help though.
This has been fixed. Sorry about that.
Submitted by JamieCameron on Tue, 02/02/2021 - 15:13 Comment #4
FYI, I have also added code to cache the external IP (which rarely changes) so that a temporary failure on our side won't cause errors like this.
Submitted by IssueBot on Tue, 02/16/2021 - 15:11 Comment #5
Automatically closed - issue fixed for 2 weeks with no activity.