How to Add an IP Address in DirectAdmin
Steps to Add an IP Address in DirectAdmin:
- Log in to DirectAdmin Control Panel
Use your DirectAdmin admin login credentials to access the control panel. - Navigate to the IP Management Section
– On the main dashboard, look for the Admin Tools section.
– Click on IP Management. - Add a New IP Address
– Click the Add IP button or link.
– Enter the following details:- IP Address: The new IP address you wish to add.
- Netmask: Specify the subnet mask (e.g., 255.255.255.0).
- Interface: Choose the appropriate network interface (commonly eth0).
– Click Add to save.
- Verify the IP Address
After adding the IP, it will appear in the IP list under IP Management. - Assign the IP to a User (Optional)
If you want to allocate the IP address to a specific user:
– Go to User Management.
– Select the user and assign the new IP address under their configuration settings. - Restart Services (If Required)
Restart relevant services, like Apache, for the new IP to take effect.
⚠️ Important Note: Ensure that the IP address is properly routed and configured on your server. Misconfigured IPs can lead to accessibility issues.
Troubleshooting Tips:
- If the IP does not appear active, check your server’s network configuration.
- Use the ifconfig or ip addr command to confirm the IP address is correctly added to the server’s network interface.