ispCP - Board - Support
Hostname/IP change - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Hostname/IP change (/thread-14098.html)



Hostname/IP change - baco - 06-01-2011 08:16 AM

Hi,

I'm a new user to ispCP and I want to thank developers for this great piece of software.

My problem is; my server was preinstalled with ispCP and apperantly they've set up wrong host name. Now I've changed host name (in /etc/hostname and /etc/mailname, also in conf file) but when assigning IP's to resellers/users, it still shows wrong host name. How can I correct it?

Thank you very much
Baco
Ok I've found the setting in SQL table server_ips and changed it. Is this correct:

ip_domain: mydomain.com
ip_alias: my subdomain defined in hosts file
ip_card: null


RE: Hostname/IP change - joximu - 06-01-2011 08:42 PM

seems correct...

maybe you also need to have a look at /etc/ispcp/ispcp.conf

and also check (do a grep) in /etc for the old hostname...

/J


RE: Hostname/IP change - aseques - 06-02-2011 06:53 AM

(06-01-2011 08:42 PM)joximu Wrote:  seems correct...

maybe you also need to have a look at /etc/ispcp/ispcp.conf

and also check (do a grep) in /etc for the old hostname...

/J
Here is a wiki page with all the details.
http://isp-control.net/documentation/doku.php?id=howto:ispcp:change_ip