Fix: Virtualizor Not Showing IPs From Pool on VPS Creation

Problem Description

Have you encountered a situation where you've correctly configured an IP Pool in the Virtualizor control panel, but when you go to the "Create VPS" screen, the IP Address dropdown is empty or doesn't show all the IPs you assigned to the pool? If so, you're not alone. This is a common issue, especially for systems managing a large number of IP addresses.

  • Symptom: The IP list is empty or incomplete on the VPS creation page.
  • Condition: The IP Pool is created and assigned correctly, and the number of IPs in the pool is large (typically over 250).

The Cause

The root of this problem isn't a misconfiguration on your part, but rather a predefined limit set in Virtualizor's source code to optimize performance. Specifically:

In the main Virtualizor configuration file located at /usr/local/virtualizor/universal.php, a variable is set with a default value of 250:

$globals['max_ips'] = 250;

This variable limits the maximum number of IPs that are loaded and displayed in the VPS creation form. The purpose is to prevent the loading of an excessively large list (thousands of IPs), which could slow down or hang the browser. When the number of IPs in your pool exceeds this value, they will not be displayed.

How to Fix It

To resolve this, we simply need to increase the value of the $globals['max_ips'] variable to a number higher than the total number of IPs you have. Follow these steps:

  1. SSH into your server:

    Use a terminal or Putty to SSH into your Virtualizor Master node with root privileges.

  2. Back up the configuration file:

    This is a critical step for safety. Always create a backup of the file before editing.

    cp /usr/local/virtualizor/universal.php /usr/local/virtualizor/universal.php.bak
  3. Open the file for editing:

    Use a text editor like nano or vim.

    nano /usr/local/virtualizor/universal.php
  4. Find and change the value:

    In the nano editor, press Ctrl + W to open the search prompt, then type max_ips and press Enter. You will see the line:

    $globals['max_ips'] = 250;

    Change the number 250 to a larger value.

    Which value should you choose?

    Select a number that is higher than the total number of IPs you plan to use.

    Safe values are typically 1024, 2048, or higher.

    For example:

    $globals['max_ips'] = 1024;

  5. Save and exit:

    Press Ctrl + X, then type Y and press Enter to save the changes.

Verification

You do not need to restart any services. Simply return to the Virtualizor admin panel in your browser and press F5 to refresh the "Create VPS" page. The IP Address dropdown menu should now display the full list of IPs.

Conclusion

This is a simple issue that can cause confusion for new administrators. By adjusting the $globals['max_ips'] limit, you can easily manage large IP pools in Virtualizor. Happy hosting!

If you encounter more complex issues during server operation, our Server Management service is always available to assist you.

Share:
Rating:

( Total: 1 ratings. Average 5, scale: 1 to 5 )

Frequently Asked Questions (FAQ)

Frequently Asked Questions and Essential Knowledge about VietHosting Services

cPanel Hosting is a web hosting service that comes equipped with the cPanel control panel. It is one of the world's most popular hosting management systems, renowned for its intuitive graphical interface that allows users to easily manage their websites and servers without needing deep command-line knowledge.

Key tasks you can perform via cPanel:

  • File Management: Upload, download, edit, and organize your website's files.
  • Database Management: Intuitively create and manage MySQL databases.
  • Domain Management: Add, remove, and manage subdomains and addon domains.
  • Email Accounts: Create and manage email accounts with your own domain name.

Why Choose cPanel Hosting at VietHosting?

At VietHosting, our cPanel Hosting service is optimized for performance and security, featuring: CloudLinux OS, Imunify360 security, Enterprise SSD RAID-10 storage, and LiteSpeed Web Server, ensuring your website runs stably and at high speed.

We are also transparent about the resource parameters provided for each package:

  • RAM: 2 GB
  • CPU Core: 2 Cores
  • Disk I/O: 100 MB/s
  • IOPS: 4096
  • Entry Processes: 75
  • Number of Processes: 150

*These are the minimum parameters. Higher-tier hosting plans come with more CPU and RAM resources, as detailed in our service plans.

DirectAdmin Hosting is a web hosting service that utilizes the DirectAdmin control panel. This control panel is known for its simple interface, fast performance, low resource consumption, and is considered an effective alternative to cPanel.

Key advantages of DirectAdmin:

  • Minimalist Interface: Focuses on core features, allowing users to operate quickly and without clutter.
  • High Performance: Consumes fewer system resources (RAM, CPU) compared to other control panels.
  • Stability: Highly regarded by the community for its stability and infrequent operational errors.
  • Cost-Effective: Licensing costs are typically lower than cPanel, which helps reduce the price of hosting services.

Why Choose DirectAdmin Hosting at VietHosting?

At VietHosting, DirectAdmin Hosting is equipped with Enterprise SSD RAID-10 drives, LiteSpeed Web Server for superior speed, CloudLinux OS for enhanced stability, and Imunify360 security, providing a powerful hosting solution at an optimal cost.

We are also transparent about the resource parameters provided for each package:

  • RAM: 2 GB
  • CPU Core: 2 Cores
  • Disk I/O: 100 MB/s
  • IOPS: 4096
  • Entry Processes: 75
  • Number of Processes: 150

*These are the minimum parameters. Higher-tier hosting plans come with more CPU and RAM resources, as detailed in our service plans.

KVM VPS is a Virtual Private Server (VPS) that uses KVM (Kernel-based Virtual Machine) virtualization technology. This is true hardware-level virtualization, integrated directly into the Linux kernel, allowing each VPS to operate as a completely independent physical server.

Key Advantages of KVM VPS:

  • 100% Dedicated Resources: Each KVM VPS is allocated a private amount of RAM, CPU, and disk space, which is not shared and is not affected by the performance of other VPSs on the same server.
  • Full Kernel Customization: Since each VPS has its own kernel, users have full control to customize and install kernel modules, providing maximum flexibility.
  • Broad OS Compatibility: KVM supports the installation of Linux, Windows, and other custom operating systems via an ISO file.
  • Higher Security: The complete isolation between VPSs enhances security, effectively preventing local attacks.

High-Performance KVM VPS at VietHosting:

VietHosting's KVM VPS service is built on a powerful hardware platform featuring Intel Xeon Platinum CPUs and Enterprise SSD RAID-10 storage, combined with the advantages of KVM technology to deliver a stable, secure, and powerful virtual server solution for any project.

Large VPS (or High-Resource VPS) is a line of Virtual Private Server (VPS) products designed with exceptionally large resource configurations (CPU, RAM, disk space), comparable to a mid-range physical server. It is the ideal solution for websites and applications with high traffic or heavy processing demands that require power close to a dedicated server but at a more optimized cost.

When should you choose a Large VPS?

  • When standard KVM VPS packages no longer meet your resource needs.
  • When you require high performance for large systems like E-commerce, ERP, CRM, or game applications.
  • When you want the power of a dedicated server but with the more affordable price and flexible management of a VPS.

What makes Large VPS at VietHosting special?

At VietHosting, Large VPS still utilizes KVM technology, ensuring 100% dedicated resources. The service is built on the highest-grade hardware platform with Intel Xeon Platinum CPUs and Enterprise SSD RAID-10 storage, guaranteeing superior performance for any demanding task.

A Dedicated Server, also known as a Bare Metal Server, is a service where you exclusively lease an entire physical server. This means you have full access to 100% of the server's resources—including CPU, RAM, storage, and bandwidth—without sharing with any other users.

Key Characteristics of a Dedicated Server:

  • Maximum Performance: All hardware resources are dedicated to you, delivering the highest performance for demanding applications.
  • Superior Security: An isolated environment minimizes security risks from other users.
  • Full Administrative Access (Root Access): You have the highest level of access to the server, allowing you to install any operating system, software, and configure it to your exact needs.
  • Reliability and Stability: Not being affected by the activities of other users ensures stability for critical services.

When should you choose a Dedicated Server?

  • Websites with extremely high traffic or large-scale e-commerce systems.
  • Enterprise applications and databases that demand high processing performance.
  • Projects that require specific software or OS configurations not supported in a shared environment.

Colocation Service allows businesses and individuals to place their own servers in a professional data center facility. Instead of building and operating a costly server room, you rent space in a provider's data center.

By using a colocation service, you benefit from:

  • Professional Infrastructure: Your server operates in an environment with international standards for power, cooling, and fire suppression.
  • High-Speed Network Connectivity: Enjoy high-bandwidth, stable, and redundant internet connections.
  • Strict Physical Security: The data center is protected 24/7 with multiple security layers, surveillance cameras, and access control.
  • Cost Savings: Reduce infrastructure investment and operational costs compared to building your own facility.

In simple terms, you bring your server to our "home," and we ensure that "home" is always secure, cool, and has the best network connection. VietHosting offers initial setup support and associated server management services if needed.

Server Licenses grant the legal right to use specific software essential for managing, optimizing, or securing a server environment.

Unlike typical desktop software licenses, these are often required for operating systems (like CloudLinux), control panels (such as cPanel or DirectAdmin), web servers (like LiteSpeed), virtualization software, or security applications running on your VPS or Dedicated Server. Purchasing or renting these licenses ensures you receive updates, support, and operate legally within the software provider's terms.

SSL (Secure Sockets Layer) is a global security technology standard that encrypts the connection between a web server and a user's browser. An SSL Certificate is a data file installed on a server that acts as a digital "passport" to authenticate the website's identity and enable the HTTPS protocol (HTTP over SSL).

When a website has SSL (HTTPS), it ensures:

  • Data Encryption: All information exchanged between the user and the website (such as passwords, credit card details, personal data) is encrypted, preventing malicious actors from eavesdropping.
  • Data Integrity: Data cannot be altered or forged during transmission.
  • Authentication: SSL confirms that the user is connecting to the correct server for the website they intend to visit, not a fraudulent one.

Today, SSL is a mandatory requirement for all websites, not only for security but also as a crucial factor for Google SEO ranking and building customer trust.

VietHosting guarantees a full refund to customers within 7 days of service registration for eligible services (like Web Hosting, Reseller Hosting, KVM VPS, Large VPS) if they are dissatisfied with the service quality. Please refer to our Refund Policy for detailed terms and conditions.

Yes, customers are welcome to send an email or submit a support ticket, and we will assist in migrating your data from other providers to VietHosting as quickly as possible, ensuring data security and completely free of charge.

VietHosting partners