Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Domain redirecting to /cgi-sys/defaultwebpage.cgi

Discussion in 'General Discussion' started by section31, Dec 1, 2009.

  1. Sled151

    Sled151 Member

    Joined:
    May 18, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Tried that, unless something didn't stick it didn't work for me. went back to 11.24.2 and seems fine
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Though this is not a problem solution but it's started when cPanel upgraded to 11.25 and this solution was given by a cPanel member itself somewhere on the forum unless the issue is fixed with other available cPanel trees i.e. stable, release.

    The solution I mentioned worked for me on 2 servers and everything is working fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If this issue is being experienced please submit a support request/ticket referencing this thread; this will help most to properly diagnose the issue as well as to verify corrective measures by allowing us to investigate directly. We would like to gather more verbose information by inspecting an affected server configuration and check for any other related details that may be involved.

    For reference, a ticket submission may be initiated via the links in my forums signature or via WHM: Main >> Support >> Support Center >> Contact cPanel. When available, please PM me your ticket ID number so I may follow-up internally; both old and new tickets are of interest and should help with the investigation process. Thank you in advance. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Mario-cPanel

    Mario-cPanel cPanel Business Development Analyst Staff Member

    Joined:
    Oct 4, 2007
    Messages:
    72
    Likes Received:
    102
    Trophy Points:
    158
    Location:
    Houston, Texas, United States
    cPanel Access Level:
    Website Owner
    Twitter:
    New cPanel 11.25.0 Installation Apache configuration syntax errors

    The release of 11.25.0-RELEASE_42399 and 11.25.0-CURRENT_42399 introduced a configuration issue that may cause Apache configuration syntax errors on servers with no accounts when the mod_userdir tweak is enabled. The condition will present itself upon addition of the first account to the server. This issue is quickly addressed by rebuilding the Apache configuration file.

    Symptoms:
    The following error can be seen in the cpanel error_log and when attempting to restart Apache:

    UserDir "enable" keyword requires a list of usernames

    Newly created websites would be sent to defaultwebpage.cgi instead of the
    appropriate document root.

    Resolutions:
    1) New builds, 11.25.0-CURRENT_42400 and 11.25.0-RELEASE_42400, have been published to address the issue. This issue will not be present on subsequent new installations. Upgrading a currently affected system will resolve this issue.

    2) Rebuilding the Apache configuration after the addition of the first account will permanently resolve this issue.

    From the command line:
    /scripts/rebuildhttpdconf
    /scripts/restartsrv_httpd

    or

    /scripts/autorepair userdir_enable_fix
    /scripts/restartsrv_httpd


    From the WHM:
    Service Configuration -> Apache Configuration -> Global Configuration -> Save -> Rebuild Configuration and Restart Apache

    Note:
    The Apache configuration may be rebuilt as a result of other changes made in the WHM. Your new installation may not experience this issue as a result the the Apache configuration being rebuilt automatically.

    The above information has been released on the news mailing list information on joining please see below:
    _______________________________________________
    News mailing list
    [email protected]
    - cPanel Inc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    166
    I'm experiencing this issue on new Add On domains.

    I upgraded to R42404 but it hasn't resolved it.

    I also notice that newly created Add On domains aren't listed under the Add On domain feature in the client's cPanel.
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please submit a support request for this issue as this will require a more thorough inspection via direct SSH access to the system. When available, please PM me referencing this thread and your new ticket ID number so I may follow-up internally. For reference, the links in my forums signature may be used to initiate a ticket submission, such as via one of the following (Support Options & Additional Support Options).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    166
    This morning (after last night's run of scripts/upcp) I was able to add the Add-On domain successfully.

    I can only guess that something was fixed during the automatic run of scripts/upcp that wasn't quite right when I did the manual upgrade yesterday.
     
  8. mahinder

    mahinder Well-Known Member

    Joined:
    Jun 12, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    matrix
    i am too having same issues with one domain after changing its ip address, its now going to

    http://174.123.xxx.xx6/cgi-sys/defaultwebpage.cgi

    when i type

    http://174.123.xxx.xx6/

    thanks god this is brand new server and we are still not using it. will create ticket asap.

    EDIT: FIXED. for me it was happening because host name of the server was part of domain of which i was changing ip. example host name was venus.xxxxxx.com and i was changing ip for xxxxx.com.

    but this should not happen right ?

    i now upgraded cpanel to release version and changed host name to something else and now after changing ip it seems working fine.

    will switch to stable version and see if it still works.
     
    #28 mahinder, Jan 18, 2010
    Last edited: Jan 18, 2010
  9. iakela

    iakela Member

    Joined:
    Oct 18, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    check IP in /var/cpanel/users/user file and in DNS records: /var/named/domain.db Thay must be same. Likely problem in this.
     
  10. geolaw999

    geolaw999 Registered

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Still happening to me - after going to EDGE, rebuilding httpd.conf

    The server I manage hosts several .DK domain names.

    Somehow over this past weekend, many of the site visitors - both from Denmark and the US, suddenly started getting the redirect to /cgi-sys/defaultwebpage.cgi ... Some would get it after browsing one of the websites for a while, all of the sudden to be redirected to the default cpanel page.

    The main server IP is shared across 10-12 websites, the secondary is dedicated to a single domain name (running ssl).

    This is very frustrating. I know many time, hitting on the main IP of the server directly forwards to the default page - so I have adjusted my httpd.conf file so that instead of the default server (1st <virtualhost > block for each IP) pointing at /usr/local/apache/htdocs - it points at the 2 primary websites hosted on this server.

    This seems to have helped - so they can go directly to the IP and get the correct website.

    however there are still a few straglers getting the defaultwebpage.cgi (based on the web logs in /usr/local/apache/domlogs).

    I have even went as far as creating an index.shtml file and placing it in /usr/local/cpanel/htdocs .... this will set a hostname variable (hard coded IP address) based on $HTTP_HOST and then do a meta refresh to that IP address. Again - helped for some, but there are still a few people getting defaultwebpage.cgi ...

    87.56.100.115 - - [05/Feb/2010:18:02:58 -0500] "GET /cgi-sys/defaultwebpage.cgi HTTP/1.1" 200 3477 "http://mydomain.dk/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko

    WTF? Cpanel -- this is really becoming unacceptable. I am ready to tear the server down and have them install Plesk!!!
     
  11. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Without having direct access to the system it is impossible to know with certainty what circumstances are creating the reported behavior; please submit a support request so that we may assist with investigation and more accurately determine the cause of your unique situation. When available, let me know the ticket ID number of your support request (e.g., via a PM) so that I may follow-up internally. For reference, the links in my forums signature may be used to initiate a ticket submission, such as via one of the following: (Support Options & Additional Support Options).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. geolaw999

    geolaw999 Registered

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Don
    This is a colo server @ theplanet - do you provide support or do I have to go through theplanet -- my previous contact with theplanet was "we cannot reproduce it ..." (so nothing is wrong) ...
     
  13. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Normally the license provider is one of the first in line to assist. If the data center, The Planet, provides your license, I recommend asking them to submit a ticket on your behalf as this will ensure it receives higher priority. If there is any difficulty in receiving further assistance you are welcome to escalate the issue by submitting a support request to us directly; the Additional Support Options page will help in this regard.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. hodfords

    hodfords Active Member

    Joined:
    Feb 22, 2002
    Messages:
    43
    Likes Received:
    1
    Trophy Points:
    308
    Can somebody from Cpanel possibly post up the fix or the solution for this?

    We are having the same problem too.

    http://www.<domain_name>.com/ is forwarding to the default page

    where as
    http://<domain_name>.com/ is ok
     
    #34 hodfords, Feb 6, 2010
    Last edited: Feb 6, 2010
  15. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The fix is included in the latest builds of cPanel 11.25; please ensure the system is up-to-date and using the latest cPanel version for the configured build tree (e.g., RELEASE, CURRENT). For reference, the latest cPanel/WHM build and version information may be checked via the following two resources:
    cPanel Downloads - Latest cPanel/WHM Builds
    cPanel Change Log

    The full cPanel version and build number may be obtained using the following command via SSH access:
    Code:
    # cat /usr/local/cpanel/version && echo
    If needed, a forced cPanel update may be performed using the following command via root SSH access:
    Code:
    # /scripts/upcp --force
    If the system is fully up-to-date and the issue persists please consider escalating via a ticket; when available, please let me know the ticket ID number of your support request (e.g., via a PM) so that I may follow-up internally.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Goad

    Goad Registered

    Joined:
    Dec 20, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    I have the latest version and it is still an issue... :(

    Code:
    [email protected] [~]# cat /usr/local/cpanel/version && echo
    11.25.0-RELEASE_43286
     
  17. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    166
    #37 mikelegg, Feb 14, 2010
    Last edited: Feb 14, 2010
  18. geolaw999

    geolaw999 Registered

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I just wanted to follow up on my particular error.

    Mine was a little bit of a weird case, where my secondary DNS provider had "accidentally" updated zone records. My assumption on how DNS works has always been that the primary (ns1.) is ALWAYS used and ns2 only comes into play if ns1 is down.

    Some of the people were seeing the BAD IP from ns2 zone file for the first "hit" (on /usr/local/cpanel/htdocs/index.html) - this default page redirects to cgi-sys/defaultwebpage.cgi. The WEIRD part was that the second "hit" (on defaultwebpage.cgi) came to the IP listed in the ns1. zone file.

    Fixed the DNS and all is well in cPanel land.

    BTW -- It was cPanel support who pointed out the incorrect dns info using intoDNS: checks DNS and mail servers health
     
  19. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    10
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Please escalate the issue via a support request so that the symptoms may be investigated; the links in my forums signature may be used to initiate a ticket submission. When available, please let me know the ticket ID number (e.g, via a PM) so I may follow-up internally.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Alan.Guggenheim

    Alan.Guggenheim Registered

    Joined:
    Feb 23, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Same problem on 2 servers at the latest rev

    I was installing a new server and planning to move an account and website from old server A to server B.
    I went on server A to look (only look!!!) at my easyapache configuration and options
    I went at the same time into easyapache on server B to install the modules needed.

    Then, I lost BOTH my sites!!!

    They both now are redirected to http://<home>/cgi-sys/defaultwebpage.cgi
    with url as well as IP.

    I need a fix. Why don;t you publish what is wrong and a fix so that we can at least manually get back online?

    it looks like the error is in the httpd.conf file, but I am at a loss to find and fix it.

    I tried all the suggestions, but without success.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice