Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    19

    Default Main shared vIP.

    Well before when you access the server's IP via a webbrowser or port 80, it goes to the default cPanel landing page. I think since I upgraded to v11, the ip acts as an ip for a client's site of mine. How would I fix this without manually editing my files?

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    472

    Default

    Open /usr/local/apache/conf/httpd.conf

    find the first instance of the IP you need. It will be in the section of the virtualhost section of the domain that is displayed when the IP is taken in browser.
    Add the following line above that virtual host entry , save the file and restart apache
    IP= ip address you need

    Code:
    <VirtualHost IP>
    BytesLog domlogs/server_hostnname-bytes_log
    ServerName server_hostname
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>

  3. #3
    Member
    Join Date
    Jan 2006
    Posts
    19

    Default

    I did that and it worked, but the a customer added an addon domain, and the main IP changed to their site.

  4. #4
    Member
    Join Date
    Dec 2006
    Location
    Chongqing,China
    Posts
    11

    Default

    Open /etc/wwwacct.conf

    ADDR xxx.xxx.xxx.xxx
    CONTACTEMAIL demo@domain.com
    Little People also do event.

Similar Threads & Tags
Similar threads

  1. main shared ip
    By petko_penkov in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-14-2007, 10:59 AM
  2. Main Shared IP
    By MakassarNET in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2005, 06:39 AM
  3. Main Shared IP
    By aquagerbil in forum New User Questions
    Replies: 1
    Last Post: 09-23-2004, 09:35 PM
  4. Main Shared IP
    By asuservice in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-08-2003, 06:52 AM
  5. VIP\'s?
    By shaun in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-14-2001, 04:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube