M
MachiM
Guest
Hello,
I will need to change the IP address of several Plesk containers. I
understand how to change the IP in Plesk and also understand how to
bulk change IP address for all domains by following the
KB:http://kb.odin.com/en/943
However there seems to be a problem with the apache configuration,
example as below.
OLD shared IP : 1.1.1.1
NEW shared IP : 2.2.2.2
domain.com : OLD shared IP : 1.1.1.1
Apache is only listening on IP 1.1.1.1 for domain.com. Now if add the
IP address 2.2.2.2 to the server and change the IP address of the
domain to the new IP 2.2.2.2 then the website is no longer accessable
until the DNS change propagates which usually takes upto 48hrs.
This downtime of upto 48hrs is not acceptable. How can I enable
apache to listen on ALL IP address for domain.com ? If apache can
service the site domain.com on both NEW and OLD IP addresses then
during the DNS propagation the webiste will not be down and after
48hrs I can remove the OLD IP.
Basically I am trying to acheive zero downtime when changing IP
address on the same server. Both old and new IP addresses can be
available simultanoesly on the server during the migration process.
I also understand that I can change the DNS TTL to some very short in
order to minimize this, however please note that some domains have
DNS hosted at 3rd party and so it will be very difficult to
arrange/co-ordinate this.
Please advise.
Thanks
I will need to change the IP address of several Plesk containers. I
understand how to change the IP in Plesk and also understand how to
bulk change IP address for all domains by following the
KB:http://kb.odin.com/en/943
However there seems to be a problem with the apache configuration,
example as below.
OLD shared IP : 1.1.1.1
NEW shared IP : 2.2.2.2
domain.com : OLD shared IP : 1.1.1.1
Apache is only listening on IP 1.1.1.1 for domain.com. Now if add the
IP address 2.2.2.2 to the server and change the IP address of the
domain to the new IP 2.2.2.2 then the website is no longer accessable
until the DNS change propagates which usually takes upto 48hrs.
This downtime of upto 48hrs is not acceptable. How can I enable
apache to listen on ALL IP address for domain.com ? If apache can
service the site domain.com on both NEW and OLD IP addresses then
during the DNS propagation the webiste will not be down and after
48hrs I can remove the OLD IP.
Basically I am trying to acheive zero downtime when changing IP
address on the same server. Both old and new IP addresses can be
available simultanoesly on the server during the migration process.
I also understand that I can change the DNS TTL to some very short in
order to minimize this, however please note that some domains have
DNS hosted at 3rd party and so it will be very difficult to
arrange/co-ordinate this.
Please advise.
Thanks