Can I change IP adress of my server?

Discussion in 'Installation/Configuration' started by kong121s, Apr 28, 2006.

  1. kong121s

    kong121s New Member

    I want to change it because I test my server in sub-net but I'will move my
    server to IT center and IT center will give me new IP address.

    If it can do, how to do it?

    Thank you.
     
  2. kong121s

    kong121s New Member

    can I change IP address at this file
    /etc/sysconfig/network-scripts/ifcfg-eth0
     
  3. Martin1982

    Martin1982 New Member

    Some more info would be nice, like which distro are you running? Is it directly linked to the internet or is it routed via a local network?
     
  4. kong121s

    kong121s New Member

    I use fedora core 5 with ispconfig2.2.1

    It is directly linked to the internet.

    but I'm not sure. please tell me in both 2 cases.

    Thank you very much :)
     
  5. falko

    falko Super Moderator Howtoforge Staff

  6. kong121s

    kong121s New Member

    I found many files that contain IP address.

    /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
    /etc/sysconfig/network
    /etc/sysconfig/network_scripts/ifcfg-eth0
    /etc/proftpd_ispconfig.conf
    /etc/hosts

    I will try to replace IP address in them.

    Question :
    in file : /var/named/chroot/var/named/pri.1.168.192.in-addr.arpa
    Is it must changed file name?

    thanks.
     
  7. kong121s

    kong121s New Member

    now, I can change server IP address.
    But it can't open any websites in my server.
    and when I want to create new site , it have only old IP address for create new site.

    What should I do?
     
  8. kong121s

    kong121s New Member

    sorry to make many reply.
    but I just know how to access to my old website that I created.
    I change DNS at /var/named/chroot/var/named/pri.www.[example.com]
    :)

    But.. I still can't to create new website with new IP address.
    :confused:
     
  9. kong121s

    kong121s New Member

    Oh!! Why am I too stupid?? :eek:

    I have known how to config IP in ISPconfig.
    I should look at management menu first , but I didn't.

    Now, ISPconfig work well. :)
     

Share This Page