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 "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