I’ve just imported a load of accounts from a cPanel backup and they’re all throwing a “403 Forbidden” error. I’ve checked the httpd.conf and Indexes seems to be enabled. I’ve tried chmodding the folders and index files and it’s still showing that error.
This seems to only be happening for the accounts that were restored from a cPanel backup.
When new accounts are created, Virtualmin is creating the VirtualHost in the apache config like the following:
<VirtualHost *:80>
That is what is causing the error. The VirtualHost should read the following:
<VirtualHost 1.1.1.1:80> (1.1.1.1 is the IP address). Is there any way to get Virtualmin to create new accounts like this, without manually editing the httpd.conf every time?