Control Web Panel

WebPanel => Installation => Topic started by: markgron on January 21, 2015, 03:08:37 PM

Title: Changed server IP, unable to access to CWP
Post by: markgron on January 21, 2015, 03:08:37 PM
Hello,
I've moved my server to a different ISP so now I have a different IP address. I can login to my server (with the new IP) using the console and everything seems ok, but I can't access to CWP.
When i browse to NEW_IP:2030 the connection times out without displaying the page.
How can I change CWP configuration so I can set the new IP address? I can only use the console.

My problem is the same as in this topic http://forum.centos-webpanel.com/installation/change-ip/ but the user didn't explain how he solved the issue...

Thank you and sorry for my bad english!  :)
Mark
Title: Re: Changed server IP, unable to access to CWP
Post by: Administrator on March 24, 2015, 04:04:28 PM
have you checked if the cwpsrv is running and are your ports open ?

Code: [Select]
netstat -tulpn|grep cwp
Title: Re: Changed server IP, unable to access to CWP
Post by: markgron on March 25, 2015, 06:35:37 PM
Hello,
since I had little time to solve the problem after many checks the solution was a full server reinstall, so I can't reproduce the issue now.
However, more calmly, I've found that the main server IP is written (also) in

/usr/local/cwpsrv/conf/httpd.conf
/usr/local/cwpsrv/conf.d/cwp-ssl.conf
 
I don't remember if I've tried to manually edit these files but this can be a thing to check if someone has the same problem.