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.

Server IP Resolves to Clients Site

Discussion in 'General Discussion' started by tswaibel, Aug 7, 2003.

  1. tswaibel

    tswaibel Active Member

    Joined:
    May 31, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Minor issue which hopefully is an easy fix:

    When typing in the http://mainIP for the server, it actually opens up a clients site. Any word on how to correct that so it actually loads the company site for the server?

    Thanks!

    cPanel.net Support Ticket Number:
     
  2. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    In your /usr/local/apache/conf/httpd.conf file check that you have this:


    <VirtualHost 111.222.333.444>
    BytesLog domlogs/your.servername.com-bytes_log
    ServerName your.servername.com
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>


    Where 111.222.333.444 is your server IP

    special attention in line DocumentRoot /usr/local/apache/htdocs

    This will show the apache default page instead of a clients site.

    GL ;)

    cPanel.net Support Ticket Number:
     
  3. tswaibel

    tswaibel Active Member

    Joined:
    May 31, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Thank you gentlemen.

    Much appreciated and works fine now.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page