Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Web Hosting Discussion > How to provide Hosting with NGINX?
forgot password?



Reply


Old
  Post #1 (permalink)   08-03-2015, 12:18 AM
HD Newbie
 
Join Date: Dec 2014
Location: Lucknow
Posts: 2
Send a message via Skype™ to HostingFever

Status: HostingFever is offline
Hello Friends,

Many of my customers ask for NGINX hosting. Right now we have many cPanel and Plesk Servers. Can anybody suggest me the best, hassle free and secure way to resell NGINX hosting to my customers. ?

Thanks
Prateek

<MOD NOTE: Signatures must be setup in your profile and not manually added to your messages.>
 
 


Old
  Post #2 (permalink)   08-03-2015, 09:54 AM
HD Newbie
 
Join Date: Jul 2015
Posts: 19

Status: MrRapidHost is offline
You can install a cPanel nginx addon such as: nginxcp, CPnginx and there is a couple more
 
 


Old
  Post #3 (permalink)   08-04-2015, 02:33 PM
HD Newbie
 
Join Date: Dec 2014
Location: Lucknow
Posts: 2
Send a message via Skype™ to HostingFever

Status: HostingFever is offline
I have no idea about NGINX configuration. I have heard that in place of .htaccess customers will have to add a different configuration file for NGINX. Most of the sites i'm planning will be WordPress based, so any risk as they will be my customers and i don't want their sites to stop working. I need honest replies as the decision is critical.
 
 
 


Old
  Post #4 (permalink)   09-10-2015, 12:50 AM
HD Addict
 
Join Date: Apr 2014
Posts: 105

Status: Hideous is offline
You may find with the big hosting companies (hostgator ect) they might reply quickly but it will be some untrained Indian guy copying and pasting responses. Go for a medium sizes company and I guarantee they will provide more personal help and be more willing to assist you in your needs.
 
 
 


Old
  Post #5 (permalink)   09-10-2015, 11:58 AM
HD Newbie
 
Join Date: Oct 2010
Location: UT, USA
Posts: 17

Status: RFEHosting is offline
You can install nginx on your server ontop of apache as a reverse proxy as well. you may want to look into that.
__________________
Aaron Eaton
RFE Hosting - We Aim to have Top Notch Customer Service & Reliable Hosting Solutions.
Shared Hosting
 
 
 


Old
  Post #6 (permalink)   09-10-2015, 12:06 PM
HD Wizard
 
easyhostmedia's Avatar
 
Join Date: Mar 2011
Location: Northumberland, UK
Posts: 5,013
Send a message via MSN to easyhostmedia

Status: easyhostmedia is offline
this is what it stated from in WHMXtra if you look to install it

Quote:
NGINX - Author: NGINXCP
A lightweight alternative to using apache. Please read the note below prior to installing. Click Here to visit this products home page. After install refresh your WHM window and access from WHM Plugins menu. Intaller will run in a new window. This installer will also modify CSF if installed to make sure nginx is not seen as a suspicious process by mistake.
Do not install if you require use of htaccess files. Also if you use Joomla or WordPress or make use of mod rewrite some additional configuration may be required, do not install if you are unable or unwilling to do the extra work. If you are just serving straight up html and php etc this will work fine for your needs.
__________________
Terry Robertson - CEO The Easyhost Media Group
Niceday Hosting - Affordable Hosting
PowerSSL - - We Secure your World
The Scamlist Forum - Fighting against scammers
 
 
 
The Following User Says Thank You to easyhostmedia For This Useful Post:
Hostrica (09-11-2015)


Old
  Post #7 (permalink)   09-10-2015, 03:32 PM
HD Guru
 
Join Date: Mar 2013
Posts: 811

Status: Alex HubRocket is offline
Do you have any experience running Nginx? Unless you actually know what you're doing OR have someone that knows what they're doing, I wouldn't recommend it.

Why are your clients asking specifically for Nginx? Sounds like an unusual request from your average folk.

Last edited by Alex HubRocket : 09-10-2015 at 03:35 PM.
 
 
 


Old
  Post #8 (permalink)   09-10-2015, 03:48 PM
HD Wizard
 
easyhostmedia's Avatar
 
Join Date: Mar 2011
Location: Northumberland, UK
Posts: 5,013
Send a message via MSN to easyhostmedia

Status: easyhostmedia is offline
I had a client ask me about Nginx ( he was a long term client who is a web designer) so it was not an unusual request from him. I told him that if he wanted Nginx then he would have to get a VPS of his own. I then gave him the info as i posted earlier. This then changed his perception of it.
__________________
Terry Robertson - CEO The Easyhost Media Group
Niceday Hosting - Affordable Hosting
PowerSSL - - We Secure your World
The Scamlist Forum - Fighting against scammers
 
 
 


Old
  Post #9 (permalink)   09-11-2015, 02:17 PM
HD Newbie
 
Join Date: Dec 2014
Posts: 31
Send a message via Skype™ to Hostrica

Status: Hostrica is offline
Quote:
Originally Posted by easyhostmedia View Post
I had a client ask me about Nginx ( he was a long term client who is a web designer) so it was not an unusual request from him. I told him that if he wanted Nginx then he would have to get a VPS of his own. I then gave him the info as i posted earlier. This then changed his perception of it.
I've installed and setup a nginx webserver before without any issues. I actually kind of like it. Very resource friendly.

With that being said ... after reviewing the info you posted earlier as well ... I do not blame anyone for steering clear of it when needing a control panel integrated with it. I just use it for a simple sandbox with PHP setup on it.

Was really shocked to read about how "hacky" it is with cPanel / WHM.

Good to know and thanks for posting that.
__________________
HOSTRICA.com cPanel | Unlimited Domain | VPS | Windows & Linux | Instant Setup
 
 
 


Old
  Post #10 (permalink)   09-12-2015, 04:02 AM
HD Community Advisor
 
ughosting's Avatar
 
Join Date: Jan 2011
Location: London
Posts: 608

Status: ughosting is offline
NGINX will only give you an advantage if you are serving mostly static data.

UnixGuru sold shared hosting based on NGINX > Varnish > Apache from March 2010 to May 2015 and if set up correctly NGINX is configured to server everything except PHP, which is passed to Varnish, if not cached is then passed to Apache, which should honour .htaccess.

UnixGuru stills sells this on managed VPSs and custom dedicated servers for customers who have outgrown shared hosting.

We now use LiteSpeed for the Shared/Reseller platform, as it simplifies things and is actually faster than the NGINX/Varnish/Apache setup for the random workload that shared hosting has. (LSCache replaced Varnish).

In the 5 years we sold NGINX, the main benefit we saw, was less Apache processes needed and therefore approximately a 75% saving on memory allocated to the webserver stack.
You can use that extra memory to cram 4 times as many customers onto the server, or to cache more files, reducing disk I/O (the enemy of shared hosting). We used it for the latter.

The main speed gain here, came from Varnish (which you haven't mentioned), which allowed servers to withstand a deluge of visits, including one site which got 750,000 visitors one day as it was mentioned on Slashdot & Reddit.
Varnish would serve around 40% of the "Apache" content during the busiest times.

We had developed our own NGINX/Varnish system for DirectAdmin.

However, for some customers who wanted CPanel on their VPS servers we had installed UNIXY's NGINX, Varnish plugin, which was well maintained and easy to use, and appeared totally transparent to the customer, everything worked, just faster.

So we would heartily recommend the UNIXY plugin.

Please note we have NO stake in UNIXY the name of the companies are just because we both use Unix.
__________________
DDoS Protected, LiteSpeed + LiteMage on CloudLinux with SSD Disks, R1Soft, Softaculous, SIteBuilder, BitNinja, LetsEncypt & Patchman
UnixGuru: Accounts with 1-16 CPU Cores, 2-32GB RAM. Why use a VPS?
█ Choose from Shared, Reseller and Elastic-Sites Hosting
 
 
 


Old
  Post #11 (permalink)   09-19-2015, 06:17 PM
HD Newbie
 
Join Date: Feb 2014
Location: Montréal, Canada
Posts: 46

Status: webalternative is offline
Hello,

Did you need a control panel that support NGINX on your server or your want just a "plain" NGINX installation?

If you need a control panel that support NGINX, DirectAdmin support NGINX out from the box. Easy to make a basic configuration of your server using their custombuild 2.x feature.
__________________
- Web Alternative
- [CA / US / NL / FR ] Shared Hosting - Offshore Hosting - Reseller - VPS
- https://webalternative.net
 
 
 


Old
  Post #12 (permalink)   09-22-2015, 09:26 PM
HD Master
 
Join Date: Oct 2010
Posts: 379

Status: paullopez is offline
Hi,

Here 's the basic NGINX configuration which you can offer -

1. Create a new file in /etc/nginx/sites-available/ called ghost.conf
2. Open the file with a text editor (e.g. sudo nano /etc/nginx/sites-available/ghost.conf) and paste the following:
Quote:
server {
listen 80;
server_name example.com;

location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:2368;
}
}
Change
Quote:
server_name
to your domain

Symlink your configuration in
Quote:
sites-enabled
:

Quote:
$ sudo ln -s /etc/nginx/sites-available/ghost.conf /etc/nginx/sites-enabled/ghost.conf
Restart nginx

Quote:
$ sudo service nginx restart
__________________
bodHOST.com : Follow us on Twitter | FaceBook | Google+ | Linkedin
 
 
 


Old
  Post #13 (permalink)   09-24-2015, 01:07 PM
HD Guru
 
Join Date: Mar 2013
Posts: 811

Status: Alex HubRocket is offline
cPanel is working on providing official support for Nginx. It'll (hopefully) start with cPanel 11.54 and expand on Nginx support from there.

It is mentioned here: https://features.cpanel.net/topic/as...allers-servers

Looks like the delays were due to EasyApache 3. EA 4 made looking at Nginx a possibility.
 
 
 
The Following User Says Thank You to Alex HubRocket For This Useful Post:
Hostrica (10-01-2015)


Old
  Post #14 (permalink)   10-01-2015, 07:25 PM
HD Newbie
 
Join Date: Dec 2014
Posts: 31
Send a message via Skype™ to Hostrica

Status: Hostrica is offline
Quote:
Originally Posted by Alex - Arvixe View Post
cPanel is working on providing official support for Nginx. It'll (hopefully) start with cPanel 11.54 and expand on Nginx support from there.

It is mentioned here: https://features.cpanel.net/topic/as...allers-servers

Looks like the delays were due to EasyApache 3. EA 4 made looking at Nginx a possibility.
Awesome. Thanks Alex. That link truly helps. It is nice to see cPanel working on new technologies. Apache is great, it is a known standard ... but people want choices....
__________________
HOSTRICA.com cPanel | Unlimited Domain | VPS | Windows & Linux | Instant Setup

Last edited by Hostrica : 10-01-2015 at 07:26 PM. Reason: adding details
 
 
 


Old
  Post #15 (permalink)   10-04-2015, 03:31 AM
HD Master
 
Join Date: Jul 2010
Location: Universe
Posts: 310

Status: kunnusingh is offline
cPanel will release support for nginix within next few month(check their feature request status for nginix)

Once they will release a support for nginix then it will comes with pre-configured like apache or you will be able to configure it from easyapache option.

Update: Sorry they will work on nginix after releasing a EasyApache 4.
__________________
Windows VPS
Web Hosting Yearly & WebHostingLoud.com Hosting Forum

Last edited by kunnusingh : 10-04-2015 at 03:34 AM.
 
 
 
Reply
Previous Thread Next Thread


Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: