Results 1 to 6 of 6

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

  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    23

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

    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?

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Houston
    Posts
    70

    Default

    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

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,565
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    To ensure proper configuration the setup of additional domains should be performed via cPanel and WHM, either as new accounts or via existing accounts as parked domains and add-on domains. For reference and as a suggested alternative, it is also possible to setup parked and add-on domains via the XML-API and API2:
    cPanel XML and JSON APIs - Calling API Functions
    API2, AddonDomain Module Documentation
    API2, Park Module Documentation

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    23

    Default

    Quote Originally Posted by xprt5 View Post
    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?

  5. #5
    Member
    Join Date
    Apr 2003
    Location
    Houston
    Posts
    70

    Default

    /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

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,565
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    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 by cPanelDon; 02-03-2010 at 07:55 PM. Reason: Clarification

Similar Threads

  1. Show IP Address Usage
    By bspiller in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 09-18-2009, 11:00 AM
  2. Main >> IP Functions >> Show IP Address Usage
    By Stuff4Toys in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 04-24-2009, 04:46 PM
  3. Need to correct WHM: Show IP Address Usage
    By knipper in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 04-12-2009, 03:46 PM
  4. Show IP Address Usage
    By jackal in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-20-2003, 02:40 PM
  5. \'Show IP Address Usage\' stopped working :(
    By tabernack in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-21-2001, 09:04 AM