• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Issue virtualhosts overlapping after using reconfigurator to change ip

lilim

New Pleskian
Hi there!
I "won" the job to migrate a very old webserver to a new system. It contains a lot of domains/ vhosts. The server was turned off for some time, and now they decided that they need everything from that system moved onto a new system. Since the ip which was used in the past wasnt available any more i had to assign a new one to it.
I then used the plesk reconfigurator to change the servers ip-address to a new one.
The mapping file i created looks like this:
eth0:OLD-IP 255.255.255.255 -> eth0:NEW-IP 255.255.255.248
reconfigurator ran through without errors.
However, since i ran that command all domains show the same website.
apache2ctl -S shows:
[...]
[warn] VirtualHost NEW-IP:7080 overlaps with VirtualHost NEW-IP:7080, the first has precedence, perhaps you need a NameVirtualHost directive
[warn] VirtualHost NEW-IP:7081 overlaps with VirtualHost NEW-IP:7081, the first has precedence, perhaps you need a NameVirtualHost directive
[...]
Any advice how i can fix this? Once i have a known good state i can start to migrate every singe website / mail / database etc.
Thanks in advance and kind regards
 
I am still analyzing what went south and how to fix this problem.
I ran a vimdiff on the httpd.conf and httpd.conf.bak files for several domains:
They are identical, EXCEPT for the IP address
Same is true for nginx.conf and nginx.conf.bak
I don't get why it wasnt a problem before i ran the reconfigurator.
 
Back
Top