The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirecting dedicated IP to specific domain name on account

Discussion in 'General Discussion' started by genezsolutions, Nov 21, 2013.

  1. genezsolutions

    genezsolutions Registered

    Joined:
    Nov 21, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi there,

    I was wondering if anyone can help me with this.

    I have a dedicated IP assigned to a cpanel account. When the dedicated IP is entered in the browser, it redirects to one of the domains on the account. It is always the same domain, an addon domain on this cpanel account.

    What I want to know is: Is it possible to choose which domain the IP redirects to?

    Many thanks
     
  2. iserversupport

    iserversupport Well-Known Member

    Joined:
    Nov 4, 2013
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    The IP redirect depends on to which domain it is assigned.

    You can see IP address usage from Home »IP Functions »Show IP Address Usage

    Is there any domain specified for that IP under Home »IP Functions »Show IP Address Usage ?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It will display the domain name content of the first VirtualHost associated with that IP address in the httpd.conf file. If you rebuild the httpd.conf file, it should revert to the primary domain name of the account:

    Code:
    /scripts/rebuildhttpdconf
    Thank you.
     
Loading...

Share This Page