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!

SOLVED public_html turned into a text file

Discussion in 'General Discussion' started by Madli, Jun 3, 2019.

  1. Madli

    Madli Registered

    Joined:
    Jun 3, 2019
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Estonia
    cPanel Access Level:
    Website Owner
    Hello!

    I was trying to move a subdomain webpage to the main page. Zipped the subfolder files and moved into public_html and then the zip file disappeared and public_html is now a text file in my File Manager (attached). I have never seen this happen before. What to do?
    Since there isn't a public_html folder I can't just redirect it either or reinstall WP.

    Regards
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Madli,

    As a website owner, you should report this to your web hosting provider so they can restore the contents of your account's home directory or public_html directory from a recent backup archive.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Madli

    Madli Registered

    Joined:
    Jun 3, 2019
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Estonia
    cPanel Access Level:
    Website Owner
    Hello!
    Thank you for replying. Just as you recommended, I contacted my web hosting provider. He told that he hasn't seen this before. But finally figured out what was the problem and restored it.
    Thanks
     
    cPanelMichael 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