You are not logged in or registered. Please login or register to use the full functionality of this board...


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change of account IP
04-06-2011, 09:01 AM
Post: #1
Change of account IP
Hello,

I was running v2.1 but I've just had to uninstall it because I notice that when an account changes IP, it doesn't seem to work. If the account is given a dedicated IP right from the start then that's OK but if the IP changes at a later date then the config files are not updated.

Hope that can be addressed as we were really impressed up to that point.

Will
Find all posts by this user
Quote this message in a reply
04-06-2011, 04:03 PM (This post was last modified: 04-06-2011 04:07 PM by admin.)
Post: #2
RE: Change of account IP
There is very simple solution for this, After update IP just run bellow commands at ssh.
Code:
rm -rf /etc/nginx/vhosts
/scripts/createvhosts.py
/etc/init.d/httpd restart

Administrator
NginxCP.com - cPanel Nginx automated installer Plugin
Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2011, 04:05 PM
Post: #3
RE: Change of account IP
Billiant! Thanks for the tip. Is there a way that it can be fixed to work without having to rebuild vhosts?
Find all posts by this user
Quote this message in a reply
04-06-2011, 04:14 PM
Post: #4
RE: Change of account IP
We will try to find cPanel hook for this perpose if possible.

Administrator
NginxCP.com - cPanel Nginx automated installer Plugin
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2011, 02:47 PM
Post: #5
RE: Change of account IP
(04-06-2011 04:03 PM)admin Wrote:  There is very simple solution for this, After update IP just run bellow commands at ssh.
Code:
rm -rf /etc/nginx/vhosts
/scripts/createvhosts.py
/etc/init.d/httpd restart
Really this works perfectly!
Find all posts by this user
Quote this message in a reply
05-26-2011, 06:29 PM (This post was last modified: 05-26-2011 07:01 PM by am3n.)
Post: #6
RE: Change of account IP
I am using ver 2.5,
I am also have this problem, I tried to solve it with clicking menu "Rebuild vhosts" on WHM > Plugin > Nginxcp.
I tought it was the same solution (just different UI)
but menu "Rebuild vhosts" didn't work as I expected Sad

so can you tell me, what does menu "Rebuild Vhosts" do?
additonal info,
when I am terminate cpanel account and/or remove addon/park domain
the nginx vhost is not deleted.

for list of the cpanel scripts/hooks that could modify list of domains on server, you can see this cpanel forum thread
http://forums.cpanel.net/f42/running-bas...06171.html
Visit this user's website Find all posts by this user
Quote this message in a reply
05-27-2011, 06:38 AM
Post: #7
RE: Change of account IP
Rebuild Vhosts takes some time to complete.
Try
rm -rf /etc/nginx/vhosts
/scripts/createvhosts.py
/etc/init.d/httpd restart

Administrator
NginxCP.com - cPanel Nginx automated installer Plugin
Visit this user's website Find all posts by this user
Quote this message in a reply
05-27-2011, 03:36 PM
Post: #8
RE: Change of account IP
thanks you, noted
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)