Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2011
    Posts
    393

    nginx on virtualmin

    Anybody installed nginx on virtualmin without messing up an existing php mysql site that runs deflate & relies deeply on htaccess? Please share the know how

  2. #2
    Join Date
    Apr 2007
    Posts
    3,502
    You would need to replace mod_deflate with the Nginx Gzip comp module, htaccess rules would need to be rewritten for Nginx.

    It's probably not going to be a smooth transfer, my suggestion would be try it in a lab/vps before doing it on the production server.

  3. #3
    Join Date
    Feb 2006
    Location
    Kepler 62F
    Posts
    13,606
    I know this is "late", but wanted to share anyway...

    I've gotten this to work -- though on a new install, not an existing one. I just finished doing this on my MrNerd VPS, which is currently acting as a test VPS. You can create domains in VirtualMin, and control all the non-www services (mail, DNS, etc). Apache has to be disabled, unless you're going for a reverse proxy scenario, which I've not tried (and probably won't for now). The nginx vhosts has to be done in SSH. That VirtualMin nginx plugin doesn't work, neither version, so don't waste your time on it. Most htaccess rules can be converted to nginx rules.

    It's not going to be easy (i.e., a few clicks), but it can be done if you really need to move to a better-than-Apache setup.

    It will take you some time, so doing this on an existing production server will definitely result in downtime of at least a day, while you get everything migrated and tested. Take ample backups of the current VPS/dedicated box, in case you need to re-deploy off a bad migration. Test on a test VPS first, possibly using backups of your current server, and redirecting your HOSTS to the test location.

    Can it be done? Sure.
    Is it worth it? If given the choice of this or adding more RAM, I'd get more RAM. That's easier.
    || Need a good host?
    || See my Suggested Hosts List || New Editorial: HostGator Alternatives & Who is EIG?
    ||

  4. #4
    the virtualmin team are working in a nginx plugin:

    http://www.virtualmin.com/node/19887

    roberto
    ContenidosOnline - http://www.contenidosonline.com.ar
    You are looking for hosting with spanish support ?
    ¿ Buscas hosting con soporte técnico en español ?
    We accept Paypal. Servers in USA

  5. #5
    Virtualmin has rolled out their NginX web server module. It is working well. I have it in public test on a VPS from Semoweb.

    search for info on WordPress with W3 Total Cache on Nginx with APC on Virtualmin and you will find a blog post regarding the setup I used, and the proper nginx config and includes for Wordpress pretty urls and w3 total cache.

    There is also some info on the Virtualmin site regarding how to switch from Apache to NginX, though it's recommended to start with a fresh install and create your virtual domains with nginx from the ground up. But it is possible to switch from Apache to NginX, because the directory hierarchy is standard virtualmin, /home/domain.com/public_html/...

  6. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Magento Nginx vs Litespeed: Nginx 3x faster?
    By vitalis in forum Web Hosting
    Replies: 16
    Last Post: 06-19-2011, 03:15 PM
  2. Replies: 0
    Last Post: 06-03-2011, 04:57 AM
  3. Nginx Admin: The Free cPanel Nginx automated installer Plugin
    By JohnCS in forum Software & Scripts Offers
    Replies: 13
    Last Post: 05-21-2011, 11:45 AM
  4. VirtualMin
    By JamesGT in forum VPS Hosting
    Replies: 2
    Last Post: 12-30-2009, 11:20 PM
  5. virtualmin.com down?
    By wjtech in forum Web Hosting Lounge
    Replies: 3
    Last Post: 08-29-2009, 03:20 AM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •