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.

New server and default apache page...

Discussion in 'EasyApache' started by joshstein, Sep 21, 2003.

  1. joshstein

    joshstein Active Member

    Joined:
    Feb 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    We have added another server to our farm, but we are experiencing a problem that has never occured before. Basically, we add the first new account to go on this server and normally when we would go to: http://thisserver the default apache page would be displayed. Now, the first account we created shows up there. Any ideas?

    cPanel.net Support Ticket Number:
     
  2. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
    make sure your first virtual host entry looks like this:

    cPanel.net Support Ticket Number:
     
  3. joshstein

    joshstein Active Member

    Joined:
    Feb 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    This is what I am seeing:

    Code:
    
    
    NameVirtualHost 172.16.209.127:80
    Alias /bandwidth/ /usr/local/bandmin/htdocs/
    
    <VirtualHost 172.16.209.127>
    BytesLog domlogs/localhost.localdomain-bytes_log
    ServerName localhost.localdomain
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>
    
    #Added by cpanel 6.4.2-RELEASE_79 install
    #Added by cpanel 6.4.2-RELEASE_79 install
    
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    </Location>
    ExtendedStatus On
    
    #Added by cpanel 8.2.0-RELEASE_4 install
    #Added by cpanel 8.2.0-RELEASE_4 install
    
    NameVirtualHost xxx.xxx.xxx.xxx:80
    
    #Added by cpanel 8.2.0-RELEASE_28 install
    ErrorDocument 400 /400.shtml
    ErrorDocument 401 /401.shtml
    ErrorDocument 403 /403.shtml
    ErrorDocument 404 /404.shtml
    ErrorDocument 500 /500.shtml
    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
    Alias /java-sys/ /usr/local/cpanel/java-sys/
    Alias /img-sys/ /usr/local/cpanel/img-sys/
    Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
    ScriptAliasMatch /cpanel/(.*) /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/base/whmredirect.cgi
    ScriptAlias /securewhm /usr/local/cpanel/base/swhmredirect.cgi
    ScriptAlias /webmail /usr/local/cpanel/base/wredirect.cgi
    ScriptAliasMatch /webmail/(.*) /usr/local/cpanel/base/wredirect.cgi
    ScriptAliasMatch /kpanel/(.*) /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/base/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/base/sredirect.cgi
    AmeVirtualHost 172.16.209.127:80
    Alias /bandwidth/ /usr/local/bandmin/htdocs/
    
    <VirtualHost 172.16.209.127>
    BytesLog domlogs/localhost.localdomain-bytes_log
    ServerName localhost.localdomain
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>
    
    #Added by cpanel 6.4.2-RELEASE_79 install
    #Added by cpanel 6.4.2-RELEASE_79 install
    
    <Location /whm-server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    </Location>
    ExtendedStatus On
    
    #Added by cpanel 8.2.0-RELEASE_4 install
    #Added by cpanel 8.2.0-RELEASE_4 install
    
    NameVirtualHost xxx.xxx.xxx.xxx:80
    lias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
    #Added by cpanel 8.2.0-RELEASE_28 install
    
    <VirtualHost xxx.xxx.xxx.xxx>
    ServerAlias [url]www.hithere123.com[/url] hithere123.com
    ServerAdmin [email]webmaster@hithere123.com[/email]
    DocumentRoot /home/hithere1/public_html
    BytesLog domlogs/hithere123.com-bytes_log
    ServerName [url]www.hithere123.com[/url]
    User hithere1
    Group hithere1
    CustomLog domlogs/hithere123.com combined
    Options -ExecCGI -Includes
    ScriptAlias /cgi-bin/ /home/hithere1/public_html/cgi-bin/
    </VirtualHost>
    
    
    <VirtualHost xxx.xxx.xxx.xxx>
    ServerAlias [url]www.hola.com[/url] hola.com
    ServerAdmin [email]webmaster@hola.com[/email]
    DocumentRoot /home/hither/public_html
    BytesLog domlogs/hola.com-bytes_log
    ServerName [url]www.hola.com[/url]
    User hither
    Group hither
    CustomLog domlogs/hola.com combined
    ScriptAlias /cgi-bin/ /home/hither/public_html/cgi-bin/
    </VirtualHost>
    
    
    
    cPanel.net Support Ticket Number:
     
  4. joshstein

    joshstein Active Member

    Joined:
    Feb 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Also, what is the IP 172.16.209.127 ?

    cPanel.net Support Ticket Number:
     
  5. joshstein

    joshstein Active Member

    Joined:
    Feb 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    I fixed this by replacing our ip with that 172.x ip...

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page