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.

shared ip porbleme

Discussion in 'General Discussion' started by activa, Sep 13, 2007.

  1. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    hello ;

    i have the shared ip (let say 111.111.111.3) ; in the past it was shwing the cpanel installation succes page . now it show the content of one site in the server (let say xxxx.com) ; also when i type mail.dddd.com it show me the content of the site xxxx.com .

    how i can fixe this probleme , so the others client didn't want to say another site content in thier subdomain mail .

    thanks
     
  2. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    or any method to change the apparence of the chared ip pages .

    for example when i type 111.111.111.3 it will say a cutum page that i will have maded for this reason .
     
  3. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    no one for this isseu !!!!
     
  4. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    If your shared IP is showing the first website of your server and not the cPanel page, the problem is in the httpd.conf file. You need to place the NameVirtualHost entry of the shared IP above the default VirtualHost entry of the server and not the VirtualHost entry of the domain.

    Also make sure you place the default virtualhost entry of the server on top of all the virtualhost entries. Make the above change and restart apache.

    Regading the mail issue, paste the zone file content of the domain in question. It is under /var/named/domainname.db
     
  5. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    what should i change in this value

    Code:
    <VirtualHost 111.111.111.3:80>
    ServerAlias www.forum.XXXXXXX.com
    ServerAdmin webmaster@forum.XXXXXX.com
    DocumentRoot /home/XXXXXX/public_html/forum
    when 111.111.111.3 is the shared ip .
     
  6. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    i have resoulved this probleme by editing this entrie , and replacing the ip with the shared ip .

    Code:
    NameVirtualHost 111.111.111.3:80
    
    <VirtualHost 111.111.111.3.3>
    ServerName ServerOne
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>
    when 111.111.111.3 is the shared ip .

    thanks again
     
  7. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Right, that was the solution which I have explained you in my previous reply.
     
Loading...

Share This Page