I changed my hostname to /etc/hosts and /etc/hostname
I’ve rebooted the machine (vps) and checked in virtualmin=>networking=>Hostname and DNS Client and my new FQDN is already configured, I’m basing myself on a new domain that I bought for my new website to be the new FQDN name of my VPS : vps5.newdomain.com … I have switched my PTR reverse with the new FQDN on my ISP (ovh and everything ok)
but every time I create a new virtual server, all settings in virtualmin=>server configuration=>DNS Records ( DNS Table ) of this new domain added, comes with all the old settings! How do I update this within virtualmin and nginx and postfix(I have updated in /etc/postfix/main.cf)? virtualmin always did everything to me with the old domain vps5.olddomain.com, where I have to warn vitualmin that now my hostname is changed, is it a new hostname?
I’ve already done up a grep scan by my old hostname in the nginx, opendkin, bind, and everything is updated with my new hostname.
grep -R ‘vps1.oldhostname.com’ grep -R ‘oldhostname’ and ANYTHING WRONG, no register with oldhostname.
(I believe this is disrupting even in the generation of my dkim sign. because it is using as base a domain that no longer exists).
ubuntu 16.04/64bits /nginx /mysql /webmin 1.860(last) /postfix /Bind9.10
Thanks all/Regards.
virtualmin needs to improve
[ANSWER:
Making a grep -R ‘vps1.oldhostname.com’ in /etc/webmin
virtual-server/last-config: bind_master = vps.oldhostname.com
virtual-server/config: bind_master = vps.oldhosname.com
nano /etc/webmin/virtual-server/last-config
nano /etc/webmin/virtual-server/config
bind_master = vps.oldhostname.com (update here informing your new hostname)
I came back here to help, and I appreciate you joe and alphadelphi for trying to help, and to say that we need more people like you here in the community to help, in 95% of the cases I get no response, no comments, and users important of the community mocking of my English(I can not help because I do not understand your English!)! We are in T.I. and English is not my mother tongue, I have no obligation to master a language that my country does not speak.
Thank you guys and I hope this helps other people … and I think virtualmin could fix this CUSTOM. should update these files automatically.
]
virtualmin needs to improve