Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

OpenVZ cPanel Template Main Virtual Host IP

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

  1. VL-Adam

    VL-Adam Registered

    Oct 17, 2010
    Likes Received:
    Trophy Points:
    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

    Nov 13, 2003
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice