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.

OpenVZ cPanel Template Main Virtual Host IP

Discussion in 'General Discussion' started by VL-Adam, Oct 17, 2010.

  1. VL-Adam

    VL-Adam Registered

    Joined:
    Oct 17, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    We are facing a really bizarre problem. Every time we create a cPanel template, and use that template on a new VPS, the Main Virtual Host IP and the IP the cPanel accounts are created on goes to the originator of the template, NOT the VPS IP.

    We did the following:
    • Provisioned a VPS
    • Logged in, installed cPanel
    • Once the install finished, we immediately rebooted the VPS and created a template. We did NOT touch the initial setup or logged into WHM at all
    • Created a new VPS with that template to find the VHost IP incorrect

    I would appreciate any feedback and suggestions.
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    I believe that for all control panel and other software which require get/set ip address or hostname or any other settings inside VPS you need use your custom made scripts. For your case it could be:

    1) Create VPS with template with cPanel
    2) During VPS first boot set (using your custom made scripts) main ip for cPanel, hostname etc.
    3) Script must delete itself when all required setting already set.
     
Loading...

Share This Page