Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    24

    Default Changing server IP's

    Hi,

    I was wondering how i change my 2 ip adressen on my fendora server, is it done in WHM?

    I dont want cPanel to break if i start changing the ips in all config files in a shell, anyone experianced on this matter?

    Any help is appriciated!


    Regards,
    Tetsou

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Location
    Hosting from: Panama, Hong Kong, Singapore, Malaysia, China, India, USA and Australia
    Posts
    68

    Default

    the quick and dirty way?

    changing master eth0 ip serverwide:

    via ssh

    edit ips in following files in /etc:

    hosts
    ips
    nameserverips
    wwwacct.conf
    resolv.conf

    rebond the new ip to eth0 by editing
    /etc/sysconfig/network-scripts/ifcfg-eth0

    --------------------------------------
    restart the network:
    /etc/rc.d/init.d/network restart

    if on new subnet edit:
    /etc/sysconfig/network

    reboot server

    change all site ips in cpanel or edit manually in usr/local/apache/conf/httpd.conf

    change all nameserver ns1 and ns2 plus host name dns settings in cpanel under edit dns including your hostname A record

    change ips of nameservers at the registrar

    adjust TTL if desired and you are done...
    International Offshore Hosting from Hong Kong, Singapore, Panama, Malaysia, India, China, Australia and the USA.

    Authorized cPanel PartnerNOC in 8 countries.

    www.katzglobal.com

Similar Threads & Tags
Similar threads

  1. Changing Name Server
    By thomamon in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-25-2009, 06:59 PM
  2. Changing Server
    By HarryH in forum New User Questions
    Replies: 1
    Last Post: 10-13-2008, 12:08 PM
  3. Server name Changing!
    By Aria_Cop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-11-2006, 04:48 AM
  4. changing server IP
    By ctbhost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-31-2004, 01:47 PM
  5. Changing from one server to another
    By bazz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-17-2002, 07:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube