Virtualmin / Ip changed problem

12 posts / 0 new
Last post
#1 Tue, 02/11/2014 - 05:23
ddstaff

Virtualmin / Ip changed problem

Hi all, i've a problem with my Vps.

Last week my hosting has change the IP of my vps

I've update te ip where i found the old, but now virtualmin is showing this message

"Your system's primary IP address appears to have changed from ******* to *********. Virtual servers using the old address may be unreachable or serve the wrong web content."

there's a guide to update ip in virtaulmiin /webmin?

Tue, 02/11/2014 - 07:51
Locutus

You can have Virtualmin easily update the IP addresses of your virtual servers under "Addresses and Networking -> Change IP Address".

Tue, 02/11/2014 - 09:43 (Reply to #2)
ddstaff

yes, i've already done this procedure.

The problem is that this change the old Virtual Server, if I create a new one the IP is OLD

Tue, 02/11/2014 - 10:24
Locutus

What do you have configured for the page "System Settings -> Virtualmin Configuration -> Networking Settings"? Can you take a screenshot of that? Please take a screenshot too of the page "Addresses and Networking -> Shared IP Addresses".

Tue, 02/11/2014 - 10:57 (Reply to #4)
ddstaff

screenshot done

Tue, 02/11/2014 - 12:14
Locutus

Okay, I think it's possible that the old IP is still noted somewhere in your network configuration. You might want to search through all files in /etc for the old IP. Otherwise I'm a bit stumped as to why Virtualmin should use the old IP in newly created virtual servers...

Tue, 02/11/2014 - 12:54 (Reply to #6)
ddstaff

... and in webmin there's anything that i can change?

Tue, 02/11/2014 - 13:47
Locutus

Probably not, you might want to check that via SSH login and shell commands. I recommend the tool "midnight commander" for easy file management.

Tue, 02/11/2014 - 17:12
lp86

Your VPS is OpenVZ based, you should restart it so that the networking configuration can get completely refreshed. If you manually make changes to /etc/hosts or /etc/resolv.conf they will be overwritten on reboot.

Wed, 02/12/2014 - 06:34 (Reply to #9)
ddstaff

ok, i've changed file hosts and resolv

now i found this in the interfaces module of webmin

venet0:0 OpenVZ (Virtuale ) 178.32.236.21 255.255.255.255

(THIS IS THE OLD IP)

venet0:1 OpenVZ (Virtualmin) 85.94.198.107 255.255.255.255

(THIS IS THE NEW IP)

can this be the problem?

Wed, 02/12/2014 - 06:34
ddstaff

ok, i've changed file hosts and resolv

now i found this in the interfaces module of webmin

venet0:0 OpenVZ (Virtuale ) 178.32.236.21 255.255.255.255

(THIS IS THE OLD IP)

venet0:1 OpenVZ (Virtualmin) 85.94.198.107 255.255.255.255

(THIS IS THE NEW IP)

can this be the problem?

Wed, 02/12/2014 - 07:19
Locutus

I guess it can... Unfortunately I'm not familiar with that type of virtualization network interface... Hopefully someone who is will barge in here. My suggestion would be removing the incorrect assignment and making the correct one "venet0:0" or "venet0". But I can't say what implications that has.

Topic locked