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 default web page on DigitalOcean

Discussion in 'General Discussion' started by iamangry, Mar 22, 2019.

Tags:
  1. iamangry

    iamangry Registered

    Joined:
    Mar 22, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Earth
    cPanel Access Level:
    Root Administrator
    Hello,

    Just registered and came here to complain how absurd this issue is for God sake, it was easier for me to learn how to setup LAMP stack and install Cpanel from SSH, with ZERO issues, then try to fix this issue, while using OFFICIAL Cpanel Droplet on DigitalOcean.:

    cPanel & WHM
    by cPanel, LLC
    VERSION 11.78.0.16
    OS CentOS 7.6

    Every single solution I tried on this post did not work, and this thread was started 10 years ago, cmon guys.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @iamangry,

    Thank you for taking the time to report an issue with the cPanel & WHM image on the DigitalOcean Marketplace.

    We recently received a similar report and determined it was related to an issue where the cPanel & WHM image on the DigitalOcean Marketplace incorrectly configures the main shared IP address with the one that we (cPanel) use to build the DigitalOcean image (104.248.225.98). You can confirm if this is the case on your system by looking to see if this IP address appears in WHM >> Basic WebHost Manager Setup or by running the following command and looking for 104.248.225.98 in the output:

    Code:
    grep ADDR /etc/wwwacct.conf
    If you see 104.248.225.98, then you can browse to WHM >> Basic WebHost Manager Setup and replace it with the IPv4 address assigned to your DigitialOcean droplet (you can find the correct IP address for the droplet in the DigitalOcean Cloud management interface).

    Then, browse to WHM >> List Accounts to see if any of the existing accounts were assigned the wrong IP address at account creation time. If so, use WHM >> Change Site's IP Address and switch the accounts from the wrong IP address to the correct one.

    Once you do this, run the following command and clear your browser cache one more time to see if the issue persists:

    Code:
    /scripts/rebuildhttpdconf
    Let me know if the issue persists after performing the above steps and I'll take a closer look to see what's happening.

    Additionally, I want to point out an updated cPanel & WHM image with a fix for this issue is scheduled for publication to the DigitalOcean Marketplace in the next few days in order to prevent this from happening on new droplets in the future. I'll update this thread as soon as the new image is published.

    Thank you.
     
    Infopro likes this.
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