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.

cPanel DNSONLY displaying phpinfo() page on ns1.domain.com

Discussion in 'General Discussion' started by Timoxendale, Sep 9, 2015.

  1. Timoxendale

    Timoxendale Member

    Joined:
    Sep 8, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bilston
    cPanel Access Level:
    Root Administrator
    Hello the subject kind of sums up what’s happening, I am not sure if I have installed it wrong or there is a setting somewhere I have missed but I would like to remove the phpinfo() page from public view when visiting my namesevers in a web browser?
     
  2. Timoxendale

    Timoxendale Member

    Joined:
    Sep 8, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bilston
    cPanel Access Level:
    Root Administrator
    Just found the answer to my own question the template is located in /var/www/html/index.php
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,711
    Likes Received:
    658
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    cPanel DNS-Only does not utilize a phpinfo file by default. It's possible this file stems from the initial installation of your OS.

    Thank you.
     
Loading...

Share This Page