#1  
Old 29th July 2013, 05:31
dram dram is offline
Junior Member
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ispconfig 3 - Apache2 to nginx

Hello.

I have long time using a apache2, but when i have more and more guests , i have got "long time reading www", like 15-16 seconds - make me crazy ...

So i decided to change my apache2 to nginx.

My www files have around 30 gb (much i know, but many of these files is file which is not download when page is loading)

So my forum have ~3-4 mb + ~30gb files like stream etc.

Answer:
When i remove apache2, and install nginx by

Code:
apt-get remove apache2
apt-get install nginx
- ISPCONFIG automatically configure my nginx?
- I lose my www files ?
- What will happen with .htaccess?
And, is possible to turn off apache2 (not remove) and install nginx?

Best regards.
Dram
Reply With Quote
Sponsored Links
  #2  
Old 29th July 2013, 08:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,396
Thanks: 833
Thanked 5,492 Times in 4,323 Posts
Default

Quote:
- ISPCONFIG automatically configure my nginx?
No.

Quote:
- I lose my www files ?
No. But your sites will not accessible anymore.

Quote:
- What will happen with .htaccess?
They wont work anymore. You will have to write new redirect rules for nginx as the syntax is different.

Quote:
And, is possible to turn off apache2 (not remove) and install nginx?
Possible yes, but it will mess up your setup. If you want to switch to nginx, the best way is a complete server reinstall. I recommend that you try out nginx first e.g. install it in a virtual machine on your desktop to see if it works for you and to test the new rewrite rules before going live.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th July 2013, 10:45
Quijote Shin Quijote Shin is offline
Junior Member
 
Join Date: Mar 2013
Posts: 12
Thanks: 5
Thanked 2 Times in 2 Posts
Send a message via Skype™ to Quijote Shin
Default

Quote:
Originally Posted by dram View Post

Code:
apt-get remove apache2
apt-get install nginx
I strongly suggest you do NOT do that. You will mess you httpd setup, nginx and apache aren't brothers even not in law

i think if you have an advanced .htaccess i suggest you convert it to nginx rewrite rules...

read a perfect server setup with nginx
try clone your server..
disable apache
install nginx

use the ispconfig update script ( ? read the perfect server setup xD )
__________________
WYSIWYG:
What You See Is What You Get.

We say thanks to all our magical monkeys server-side, who makes this a reality.
oriongames.cl <<---- gamer, geek
orionhosts.cl <<---- geek
orionholding.cl <<--- [??]
All friends with nature, animal and human
Reply With Quote
  #4  
Old 29th July 2013, 12:29
dram dram is offline
Junior Member
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ip.board using hta

So


disable apache
install nginx

And ispconfig automatically detect to use nginx not apache2?
Reply With Quote
  #5  
Old 29th July 2013, 13:20
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,396
Thanks: 833
Thanked 5,492 Times in 4,323 Posts
Default

Quote:
Originally Posted by dram View Post
Ip.board using hta

So


disable apache
install nginx

And ispconfig automatically detect to use nginx not apache2?
Please read post #2 in this thread.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 29th July 2013, 15:56
Quijote Shin Quijote Shin is offline
Junior Member
 
Join Date: Mar 2013
Posts: 12
Thanks: 5
Thanked 2 Times in 2 Posts
Send a message via Skype™ to Quijote Shin
 
Default

Quote:
Originally Posted by dram View Post
Ip.board using hta

So


disable apache
install nginx

And ispconfig automatically detect to use nginx not apache2?
No and no , ispconfig can't automatically detect any stuff
That is why you have to setup the server before install ispconfig.

Read the perfect server with nginx
Be aware to loose user access to each website folder

Search howtoforge for a how to setup ispconfif with nginx
you will notice any dependencies order procedure, etc
Search howtoforge for a update ispconfig via terminal


But as till already says and you have to know it as law
Ispconfig don't automatically configure any stuff
apache and nginx are rivals
I can't imagine how to figure you server website access
__________________
WYSIWYG:
What You See Is What You Get.

We say thanks to all our magical monkeys server-side, who makes this a reality.
oriongames.cl <<---- gamer, geek
orionhosts.cl <<---- geek
orionholding.cl <<--- [??]
All friends with nature, animal and human
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] nginx reverse proxy for apache2 MaddinXx Plugins/Modules/Addons 8 4th August 2014 17:24
The Perfect Server - CentOS 6.3 x86_64 (Apache2, Dovecot, ISPConfig 3, OpenLDAP) SaintCrowdness Suggest HOWTO 2 7th September 2012 23:28
Trying to add a nginx webserver to an Apache2 master server swehes Installation/Configuration 7 24th April 2012 15:06
All files gone after changing quota to 0 spynode General 17 19th January 2012 14:41
ispconfig 3.0.3.1 with nginx - updates give "Error while sending INIT_DB packet" talkingnews General 3 20th December 2011 12:28


All times are GMT +2. The time now is 10:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.