Whenever I migrate Domain from cpanel back using Virtualmin> Add server > migrate virtual server templet. We are able to migrate but website does not open up through any Browser from anywhere.
Let say migrated domain is www.hello.com
While migrating we have tried both IP options given in the templet i.e
“Shared IP 10.1.1.1”
and Virutal IP 192.168.1.1 also checked on Aready Active.
In our option DNS is being managed somewhere else and all record for www.hello.com exist there itself. www.hello.com is maped to 192.168.1.1
Also let us what DNS records should be in Virtualmin if there is need according to you for www.hello.com
Please let us if issue is with the IP and if yes, what is the solution?
Please help us how we can migrate our Domains in such IP situations. Help is with the options if there is need to map local interface IP with real IP behind NAT.
I would recommend setting it up using the shared IP address.
However, you’d also need to configure your server so that in System Settings -> Virtualmin Config -> Network Settings, “Default IP address for DNS records” would need to be set to “Automatically detect external address”.
Without that setting, the DNS records wouldn’t be returning the correct public IP address.
Thanks for your help Howdy but we are still not done.
We did as you suggested.
Our cpanel back also contains DNS records and while migrating they all configured automatically in the virtualmin and point to 192.168.1.1.
Do we need to delete these DNS records from the virtualmin as they already exist outside ?
We have tried both ways i.e. we tried deleting DNS records from virtualmin and let them be there…but none works !
Our Problem remains same. We have been able to migrate the domain data and when we click Preview Website it works locally but never works when we try to open www.hello.com from outsite.