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.

IP pointing to a diff site

Discussion in 'General Discussion' started by cancer10, May 25, 2007.

  1. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hi,

    I have this issue, I added a new IP for my server but for some reason this IP is pointing to a mysterious page. I know that page belongs to one of my customer's site under my WHM but not sure whose.

    Can anyone tell me how do I make my new IP point to my site


    PS: I replaced the index file under /usr/local/apache/htdocs/ but that worked only for my main IP and not this additional IP.


    Can someone help me plz?


    Thanx
     
  2. WhmSonic

    WhmSonic Well-Known Member

    Joined:
    Mar 19, 2007
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Hello,
    Change Your_ServerIP to your real serverip in below address, and copy paste to your internet explorer address bar.

    Code:
    http://Your_ServerIP:2086/scripts/changesiteip
    Now you will see the list on the page choose from list which username do you want to make ip point. Then click change.

    Now choose which ip do you want to make ip point to your site and click change.

    Thats it.
     
  3. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hi,

    Perhaps you didnt get my question :)

    I do not want to change my site's IP, I want to make the present IP redirect to my default site.

    Suppose my IP is 156.122.141.12 so if someone types http://156.122.141.12 it should redirect it to my site http://mydomain.com


    Thanx
     
  4. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    The first site in httpd.conf for that IP will be the one that appears when the IP address is entered.
     
  5. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    oh!

    Did u mean under /usr/local/apache/conf/httpd.conf

    If thats so then the first one is my customer's

    So what must I do now to make it redirect to mine without harming my customer?
     
  6. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Nevermind, I fixed it


    Thanx for your help.


    God Bless
     
  7. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hi again

    The problem seems to be back again. The IP is now pointing to a different site.

    Cannot I have a permanent solution for this?




    Thanx
     
  8. psychodreams

    psychodreams Well-Known Member

    Joined:
    Apr 14, 2004
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    :)

    Make sure its correct in the httpd.conf and also manually edit the dns for both to make sure they are correct
     
  9. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cpaneldave provided a solution but it does not seem to be a permanent one :(
     
Loading...

Share This Page