hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Using nginx on CPanel server - please help
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Using nginx on CPanel server - please help

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2008, 06:03 AM
SysTeam SysTeam is offline
Junior Guru Wannabe
 
Join Date: May 2007
Posts: 66
Post

Using nginx on CPanel server - please help


Hi!

I want to use nginx+apache (reverse proxy) on CPanel (shared hosting) server. I have multiple IP's, and I want to use nginx only for 1 IP, for few sites.

But I do not know, how to indicate another port only for one IP.
For example, I try to use this:

httpd.conf

Code:
Listen IP1:80
Listen IP2:80
Listen IP3:8080 # nginx frontend
and I see error - Listen requires 1 or 2 arguments.

If I change /var/cpanel/cpanel.config: apache_port, port change for all IP's and virtual hosts, but I want to change apache port only for one IP.

How to do this?

Thank you!

Reply With Quote


Sponsored Links
  #2  
Old 10-03-2008, 12:41 PM
SysTeam SysTeam is offline
Junior Guru Wannabe
 
Join Date: May 2007
Posts: 66
Problem solved.

Reply With Quote
  #3  
Old 10-03-2008, 04:50 PM
trustedurl.com trustedurl.com is offline
That's all it takes?
 
Join Date: Aug 2001
Location: Canada
Posts: 2,091
Maybe you should share the solution? You know, give back to the community?

__________________
www.idologic.com - Reseller, VPS and dedicated hosting - Friendly Customer Service - DirectAdmin - cPanel - InterWorx
www.qenox.com - self-managed KVM VPS - DirectAdmin - cPanel - InterWorx

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
nginx Version 1.4.0 Supports SPDY Protocol Web Hosting News 2013-04-29 15:08:14
Nginx Web Server Adds Device Detection at Server Layer with dotMobi DeviceAtlas Module Web Hosting News 2013-01-09 11:33:22
Open Source Server NGINX Makes LeaseWeb its Preferred Infrastructure Partner Web Hosting News 2012-03-21 18:52:57
nginx Continues Market Share Momentum in Netcraft February Web Server Survey Web Hosting News 2012-02-09 17:29:14
Open Source Web Server NGINX Receives $3 Million Investment Web Hosting News 2011-10-11 15:24:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?