The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing IP address of a Virtual host to dedicated IP

Discussion in 'User Experience' started by armin654, Apr 8, 2014.

  1. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello guys
    Thanks for Cpanel for the built-in CHANGE IP ADDRESS of A WEBSITE module.
    But i want to know how to do it manually without using cpanel? In fact i want to know the shell which is executed by cpanel in background.

    When you have many virtual hosts, how we can change the ip address of a virtual host from shared IP to Dedicated IP?

    I mean the complete list of tasks that we need to do. from Network device configurations,httpd configurations, virtual host changes ,.....
     
    #1 armin654, Apr 8, 2014
    Last edited: Apr 8, 2014
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    I have a guide for that here:

    Changing a Site’s IP Address :: The cPanel Admin

    Go to the section where it describes making the change manually. I don't see any reason you would need to update device configs/etc, just change a couple config files.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    If you are looking for the command-line equivalent of what's used in WHM, then the following script should be suitable:

    Code:
    /usr/local/cpanel/bin/setsiteip
    
    Usage: /usr/local/cpanel/bin/setsiteip [-u user | domain] ip
    Thank you.
     
  4. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thank you VANESSA for your care. Michael that was what i was looking for
     
Loading...

Share This Page