I installed virtualmin over a Debian 10 new VPS. I created a backup of all files from another virtualmin server and install the backup here. All worked fine.
However now website redirects does not work. If I create a website redirect I don´t have any problem but when I go to the domain I have 403 error, not redirecting
Also if I upload a file, test.htm for example, and go to domain.com/test.htm I have error 404, file not found.
error_log and access_log are empty.
I delete a site and re-create it and still same error.
The sites with own DNS records (for example CNAME or MX…) works fine but the sites with redirects or files does not work…
First of all thank you for trying to help me.Yes, I put the files in the public_html folder. I did that after check that redirect does not work. And the files didn´t worked also…
Either something is wrong with the vhost settings for that page or its a permission issue.
Take a look at the vhost file and see if the files folder is correctly set.
After that you should check the permissions.
Hi, the problem was fixed. I restarted apache, it failed and I fixed the errors regarding a module that isn´t present in the destination server and present in the backup server.