Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2008
    Posts
    6

    Default Change of Main IP Address

    Hi There,

    I am having trouble changing my "Main Shared Virtual Host IP".

    My setup is like the following:

    eth0 xx.xx.xx.120 (Current Main IP)
    eth0:0 xx.xx.xx.119

    I want 119 to be the main shared IP and 120 to be a dedicated IP for SSL. (Only hosting a single website).

    I have changed the setting in "Basic Setup" however whenever I go to the IP address list it says:

    xx.xx.xx.120 [Main Address] eth0

    I have tried swap eth0 and eth0:0 and just running .119 but nothing seems to work. I can't seem to tell WHM that the new Main Address is .119.

    I am sure there is an file I need to edit, but I can't seem to find anything.

    Any Ideas?

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    You can change the main server IP address in hosts file. The host file is located at /etc/hosts

Similar Threads & Tags
Similar threads

  1. How can I change the main IP address of the server?
    By surfturtle in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-07-2011, 09:54 AM
  2. Change Main Address IP on my VPS
    By Stickado1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-24-2010, 09:54 AM
  3. Change main IP address
    By luci2200 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-06-2008, 08:24 AM
  4. How to change the main server's IP address?
    By iconraul in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-27-2006, 10:24 AM
  5. Replies: 1
    Last Post: 08-19-2003, 12:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube