• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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