Restore failed! ..a clash was detected : The domain example.com is already hosted by your Apache webserver

3 posts / 0 new
Last post
#1 Wed, 05/22/2019 - 02:35
hermes101

Restore failed! ..a clash was detected : The domain example.com is already hosted by your Apache webserver

Hi there! tried to restore multiple domains from old server to new one. All domains restored, but one won't! New server is Debian 9 "Re-creating virtual server example.com .. .. a clash was detected : The domain example.com is already hosted by your Apache webserver

Please help me with this issue!

Wed, 05/22/2019 - 08:22
andreychek

Howdy,

That can happen if the domain you're trying to restore already exists in Apache, but isn't part of the Virtualmin installation.

You may need to review your Apache configuration to see if that domain had been added to it prior to Virtualmin being installed.

The key would be to remove the "VirtualHost" section from Apache that references that domain -- once you do that (and remove any other clashes), you should be able to perform a restore.

-Eric

Tue, 06/04/2019 - 02:01
hermes101

Thank you Eric for replay, you where right, I just couldn't find where it is on Debian 9, but at last I found somewhere in /var/www. Removed and issue gone. Thank you again!