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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Page loads via domain, but not IP

Discussion in 'General Discussion' started by Tartut, Feb 23, 2017.

  1. Tartut

    Tartut Member

    Joined:
    Feb 22, 2017
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Poland
    cPanel Access Level:
    Root Administrator
    Hi,

    I have a website:- Removed - . While I go through domain is the page normally loads. But when I walk through the IP address (94.23.xx.x) that appears:
    73d1b1487c910795df5f2e8ee71a85da.png

    The server redirects me to the sub:
    /94.23.xx.x/cgi-sys/defaultwebpage.cgi

    In the logs error apache display:
    Code:
     [cgi:error] [pid 13462] [client {IP klienta}] AH02812: attempt to invoke directory as script: /home/{domena}/public_html/cgi-bin/
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's by design that websites don't load directly over shared IP addresses. Can you confirm if multiple accounts are assigned this IP address?

    Thank you.
     
  3. Tartut

    Tartut Member

    Joined:
    Feb 22, 2017
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Poland
    cPanel Access Level:
    Root Administrator
    Hello,

    IP address 94.23.xx.x hooked are:
    - One domain
    - Cpanel and WHM
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Is the IP address configured for the "The IPv4 address (only one address) to use to set up shared IPv4 virtual hosts." option in "WHM >> Basic WebHost Manager® Setup"? If so, you'd need to follow the workaround instructions outlined on the following thread:

    Is it possible to Open Website with VPS main IP (http://XX.XX.XX.XX)

    Note that in EasyApache 4, the updated path is:

    Code:
    /var/www/html/index.html
    Thank you.
     
  5. Tartut

    Tartut Member

    Joined:
    Feb 22, 2017
    Messages:
    5
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Poland
    cPanel Access Level:
    Root Administrator
    Thank you! :)
     
    cPanelMichael likes this.
Loading...

Share This Page