Report this

What is the reason for this report?

How can I get Virtualmin to behave like a traditional web host (i.e. Godaddy/Hostgator)?

Posted on August 27, 2014
kai

By kai

I have tried many times to spin up a droplet and then install Virtualmin. I followed the guide that was posted by DigitalOcean and then also tried with modifications. I can get Virtualmin installed, I can set up a site, and I can then do a restore of my sites, but I have issues with formatting and function.

I have one Wordpress site and one Joomla site. I can restore these sites from GoDaddy to Hostgator and back without any issue. But when I restore them onto my droplet they do not function as intended.

Clearly I am missing some things. For example my sites do not initially work due to .htaccess paramaters. I had to comment out my +FollowSymLinks line on the Wordpress site. Also on both I have to remove the expirations lines, but then I discovered I needed to install a module for that.

The closest I have come is by running the following apt-get to install as many modules as I could find that matched the phpinfo on my HostGator hosting.

apt-get install php5-gd php5-GMP php5-imagick php5-intl php5-mcrypt php5-pspell php5-tidy php5-xmlrpc php5-xsl php-gettext php-soap php-date

I just want Virtualmin up and running and it to act like a major web host from a function standpoint, but act like a droplet from a performance standpoint.

I have tried using Joomla 14 and 12 (32-bit and 64-bit).



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Its probably an apache configuration problem.

Are there any errors?

What do the logs show?

/var/logs/apache/error.log

You’ve said they don’t function as intended. You need to provide much more detail. The more you give, the more chance you have of getting help. Its also always helpful to post your distro, apache version, php version, config files of apache (via paste bin is probably best).

Regarding hosts, the site I want to move is perfectprofiler.com. That site is live elsewhere right now because it will not work at DO on Virtualmin yet. So I am using a hosts file on my Windows desktop to test access to that site. I was making that comment so the readers of this thread would understand that the site is not live on DO.

Is there any reason I should not be able to use a HOSTS file to test? I can reconfigure the site to a new DNS name (i.e. test.perfectprofiler.com), but was hoping I didn’t have to go through that each time. Utilizing a HOSTS file seems to work find on the other web providers, but maybe I am missing something with Virtualmin to do this.

I agree to focus on getting the site up past the 500. Is there anything in my .htaccess that looks like a problem. I am pretty sure something in there (or not in there) is causing my 500.

Thanks Mark, hopefully this helps.

I have tried running Ubuntu and CentOS, both with no luck as well as both 32 and 64 bit flavors of Ubuntu 12 and 14. I prefer Ubuntu, so my current test is running:

Any errors? Yes the log has a few. Please see: apache2/error.log

My specific issues:

  1. After my umteenth iteration here, I can’t recall what the .htaccess was that I needed to get my Joomla site to at least pull up. The site gets an HTTP 500 error right now, I am using a hosts file to access it. Here is the .htaccess
  2. The Joomla site has some portions of text that do not format correctly (once the site is up)
  3. The Joomla site has a pdf creator plugin that does not properly generate pdfs. I believe I fixed this with getting the PHP version at 5.3. Will need to test when I can get the site up again.
  4. I would like to run the document expiration settings in my .htaccess. “ExpiresActive…” and “ExpiresByType…” I just don’t know what widget to install for this support.
  5. Is having to remark out “Options +FollowSymLinks” a problem?
  6. I think I added enough stuff in with the apt-get in my first post to get my Wordpress site working properly. As far as I can tell it is good, but I just have an uneasy feeling since I am throwing stuff at the wall to see if it sticks. Not my favorite way to troubleshoot, but I clearly don’t have extensive Linux knowledge.

Thanks, Kai

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.