Absolutely cannot get the Default Website to do anything - keithmarx.com. ApacheCTL is coming back as OK. I have done everything I can think of, including re-installing Ubuntu to a fresh install, restoring Virtualmin and then using the latest backup to restore. I did have an issue during the restore not able to load one domain - mail.keithmarx.com. On original server I also had a domain of keithmarx.com and some DNS A records with mail.keithmarx.com as part of the keithmarx.com domain. During the restore, it even failed with the clean install - saying there was already a domain with that name. Apache error logs show no errors and Apache Access log showed a 302 being returned, which is the corresponding error from the browser. When I restored the Ubuntu host, the only thing I did different is to set Hostname to simple.keithmarx.com instead of mail.keithmarx.com. Any idea’s are appreciated. One other question, if I delete domain keithmarx.com, would it affect email in any other domain? That is the only thing I haven’t tried, being worried that it would affect other domains email?
Thanks!
Keith
The application is Joomla - currently 4.34. I usually copy the htaccess.txt provided by Joomla to .htaccess and then edit it commenting out ##Options +FollowSymlinks. Would it be ok if I paste my .htaccess file to this thread?
This error can have many causes. Joomla is based on PHP. I would start the investigation from a simple situation.
I would rename the .htaccess file in the root directory. I would create an index.html file with a phrase inside and visit the website on port 443 (https). If it loads up to here, it’s good.
I would create an index.php file with the following content <?php phpinfo(); ?> and I would visit the website on the same port 443. If it loads and the information about PHP is displayed, then the problem comes from Joomla configuration I would check the .htaccess file that is delivered with it.
I recommend you to look in the error log file of the webserver, maybe you find something.
One other thing I just noticed, I removed all files from the public_html folder and I received the same error? Re-added just the .htaccess file and the stock index.html to the public_html folder.
Renamed .htaccess to htaccess.txt and created the test index.php and still the same error. It is acting like Apache is looking in the wrong document folder?
Have cleared cache numerous times, and tried from different machines. Ran a2dissite and tried to load site, same error. Ran a2ensite to re-enable, same error, I never get any http errors to the screen. This just does not make sense at all.
Question, if I delete just this site with Virtualmin, will it affect any other domains as far as email is concerned? That is the only thing I haven’t tried? I can then restore the site with a Joomla script.
You can create a new test domain which is a much better option than deleting that one. In this way you can make a comparison between configurations, in case the test one is working as expected.
Create a new Virtual Server with this domain name? Don’t I have to disable the current one? I have several other sites that are working just fine, it’s just this site?
If there are domains on the same Virtualmin installation just make a comparison between one that works and the one with issues. Check the webserver configuration.
No progress, have looked at scripts between working and this one and they are pretty much identical. So going back to a question from earlier. What will happen if I delete this virtual server when it comes to email from any of my other virtual servers? Will they be affected? Where is email stored, on the server or the client or both? (I’m sure using IMAP it’s both)
After wasting almost 2 days trying to resurrect this one virtual server, I ended up backing up email messages from mail domains externally - via Outlook PST. Deleting the virtual server that was causing issues, and then created a new virtual server. I restored my website (Joomla) from the kickstart script, and then reloaded email into Outlook client, which then sync’d up all my IMAP folders. This issue is solved. It seems there was some issues in the old configuration pointing to old records, folders, etc that did not exist after experimenting for a while. Finally to answer the ultimate question, no, email from other domains existing in your Virtualmin server is affected by a deletion of another existing virtual server. My theory on the genesis of this issue occurred by my lack of experience when first deploying Virtualmin a few years ago. I had a website that contained an DNS A record with the same name as the name of another domain (Virtual Server) and some conflicts must have occurred that caused my backups to be flawed. Lesson learned. Still think Virtualmin and their other products are the best tools around!
I am one who has gone through all the existing control panels and I can say that Virtualmin and Webmin are by far the winners. However, they are not for inexperienced users who do not keep a record of changes or who want to experiment because that way problems arise.
As long as both solutions are used according to the user manual, no problems should arise. After I installed them, I didn’t use the interface anymore (the webmin service is stopped) and I made all the changes I needed in the CLI using etckeeper to keep the tracking. I never had serious issues. Virtualmin saved me hours of installing and configuring packages myself. All my appreciation to Jamie, Joe and Ilia.
I come to the forum from time to time with a new Debian version is released. And don’t forget, always study, analyze the problems yourself in a test environment, search on the Internet, with time you gain experience.