How do I set the Primary Interface in WHM?

Under Basic cPanel/WHM Configuration, there is an area called Primary Interface. By default, if this isn't filled in, it will use eth0 (which isn't always correct).

In order to find out which interface is the correct primary interface, please SSH into your server and run:

ifconfig

You can tell which one is the primary by the one having your public IP address on it. Set the Alternate Main Ethernet Device under the Basic cPanel/WHM Configuration to the correct interface. For example: eth1. Then hit "Okay".

Restarting cPanel should not be necessary however it is recommended. To do so, simply login to SSH and run the following:

service cpanel restart
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to Move Accounts From One cPanel Server To Another ?

  This tutorial explains a simple, straightforward method for migrating cPanel accounts from...

How do I bind my additional IPs?

These instructions are for CentOS / Fedora specifically.By default, we only binds your first...

How do I run a traceroute?

Both Windows and Linux have the ability of diagnosing the health of a connection between a source...

How do I schedule FSCK to run automatically?

Using cron to schedule an FSCKBy default, a fsck is forced after 30 reboots or 180 days.To avoid...

Why is cPanel/WHM not loading?

There are two main reasons why cPanel/WHM isn't loading that we've seen.Brand New ServerIf you...