Submitted by hescominsoon on Thu, 11/19/2020 - 21:42 Pro Licensee
wordpress is installed but i get the virtualmin under contraction page. i can log into the backend of workdpress without an issue though.
Status:
Active
Virtualmin version:
6.13
Webmin version:
1.962
Comments
Submitted by hescominsoon on Thu, 11/19/2020 - 22:05 Pro Licensee Comment #1
https://halimashealinghaven.com/
Submitted by hescominsoon on Thu, 11/19/2020 - 22:08 Pro Licensee Comment #2
This needs to be addressed quickly please as the client is going to have a tv spot on sunday and this jsut recently appeared. I have tried restoring ab ackup..no change. I ahve tried deleting the account..recreating hte account only..being careful to NOT allow it to create a page during creation andc then instlaling wordpress..no change.
Submitted by hescominsoon on Thu, 11/19/2020 - 23:03 Pro Licensee Comment #3
ok when i start over i get the forbidden page. as soon as i install wordpress from the instlal scripts area as soon at wordpress is done installing then the homepage is changed to the virt under construction page....weird. if i instlal wordpress 5.5.3 at namecheap it works fine in terms of hte initial hello world page. Only with virt does this oddity occur. this apparently only occurs on newly created accounts. None of my existing accounts have this problem..thank god.
Submitted by hescominsoon on Thu, 11/19/2020 - 23:11 Pro Licensee Comment #4
jsut tried using a test domain and it did the same thing: etctst1.com Under Construction managed by Virtualmin - a powerful and flexible web hosting control panel
Submitted by hescominsoon on Thu, 11/19/2020 - 23:43 Pro Licensee Comment #5
Got it. Virt had inserted index.html when the site was created..but i ahve virt told NOT dto do that.
Hi,
Have you create virtual server using CLI or UI?
Submitted by hescominsoon on Fri, 11/20/2020 - 08:06 Pro Licensee Comment #7
ui...
Submitted by hescominsoon on Fri, 11/20/2020 - 08:08 Pro Licensee Comment #8
oh btw i tried this on both my ubuntu servers..the other one run 16.04.
Submitted by hescominsoon on Fri, 11/20/2020 - 08:09 Pro Licensee Comment #9
Submitted by hescominsoon on Fri, 11/20/2020 - 08:09 Pro Licensee Comment #10
my apologies my primary webserver is 18.04 no 20.04 I have updated the ticket to reflect this.
Okay, I have given it a try on Virtualmin 6.13 with Ubuntu 18.04 and Ubuntu 20.04 and content page is not created if you specify no --content param when used from CLI or if you set Initial website content to No upon server creation.
Could that be that you have network misconfiguration and that newly created domain hits default virtual-server, which has public_html/index.html default Virtualmin page in-place?
Submitted by hescominsoon on Fri, 11/20/2020 - 09:18 Pro Licensee Comment #12
Why do you always assume the problem is the user? The servers were working fine until the latest update. Try again.
Because I tried reproducing it and couldn't. What you're saying, is that after latest update, newly created virtual servers have default Virtualmin page written to document root, no matter what?
What is the folder's content of /home/newly-created-domain.com/public_html after creating a new virtual server?
What is the output of:
Submitted by hescominsoon on Fri, 11/20/2020 - 17:52 Pro Licensee Comment #14
Has this issue been resolved?
Submitted by hescominsoon on Sat, 11/21/2020 - 09:21 Pro Licensee Comment #16
probably not..but i know the workaround(delete the created index.html)..most likely in a subsequent release it will either escalate to where it takes other machines down..or it will magically get fixed.
Submitted by abravo on Wed, 05/26/2021 - 12:11 Comment #17
The issue is happening because virtualmin is creating index.html inside /home/user/public_html/. If you delete the index.html it would show your wordpress website. This is happening with the latest version of Virtualmin. It was not happening before. BTW I'm running Centos Server.
This shouldn't be happening on new installations with latest Virtualmin, however, if you installed Virtualmin before we fixed an order for DirectoryIndex, you would need to manually edit it on System Settings ⇾ Server Templates: Edit Server Template / Website for domain page to change old defaults.