'Show IP Address Usage' does not show domains added throgh Includes

Kadence

Member
Nov 25, 2006
24
0
151
I have domains that I've added manually to httpd.conf via Includes (they do not have cpanel accounts; the zone files were made manually as well). I've done the same thing on other servers and Show IP Address did display these domains. But I've got a new server and now WHM>Show IP Address Usage only lists the domains that have cPanel accounts, and not the domains added via Includes.

I have WHM 11.25.0 on both the servers where the domains showed up, and where they didn't, so I don't know what the difference between servers is.

How can I get these domains to show up in Show IP Address Usage?
 

xprt5

Well-Known Member
Apr 6, 2003
72
0
156
Houston
When assigning an IP address to a Domain thru WHM it sets up an entry in /etc/domainips for that' IP: domain.tld'

Using includes will not do this, so you would have to manually add the line to /etc/domainips
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
11
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter

Kadence

Member
Nov 25, 2006
24
0
151
When assigning an IP address to a Domain thru WHM it sets up an entry in /etc/domainips for that' IP: domain.tld'

Using includes will not do this, so you would have to manually add the line to /etc/domainips
Thanks. The /etc/domainips file is actually a 0 byte file on each of the servers I have; it doesn't seem to be where Show IP Address Usage gets its data from. Is there another file that Show IP Address Usage uses instead?
 

xprt5

Well-Known Member
Apr 6, 2003
72
0
156
Houston
/etc/domainips would only exist if you have setup Dedicated IP's for domains previously.

If it does not exist then just create it then add the entries as

0.0.0.0: domain.tld
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
11
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
The information displayed for IP address usage is gathered from more than one area; included in this is the Apache configuration and cPanel user data.

As an alternative to WHM, the following command-line script may also be used to display the same IP address usage information:
Code:
# /scripts/ipusage
 
Last edited: