Failed to create virtual server : The domain domain.com is already hosted by your Apache webserver - sub-domain is used already

1 post / 0 new
#1 Sun, 07/14/2019 - 07:30
ShaneMcC

Failed to create virtual server : The domain domain.com is already hosted by your Apache webserver - sub-domain is used already

I created a new server a while back with Ubuntu 18.04, Apache and installed Webmin using sub.domain.com as the URL for the installation.

I now want to host domain.com on that server but cannot Create a Virtual server for domain.com because it is already 'hosted' by Apache. At least the sub-domain is and that seems to prevent the root domain from being created.

Is there a simple way around?