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 HTML file is not being rendered properly

Discussion in 'General Discussion' started by joevaz81, May 8, 2019.

  1. joevaz81

    joevaz81 Registered

    Joined:
    May 8, 2019
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Zhejiang China
    cPanel Access Level:
    Website Owner
    Hello,

    I am new to using cpanel or heck, even web building. I decided to learn a new skill and wrote my own website. I purchased a domain name from GoDaddy and their host option as well. So here is where I am at. I went into file manager and added a new file for my website. I uploaded all files that are associated with my coming soon page. After the files were uploaded, I entered my domain name what shows up is (please look at the images, the first one shows what is displayed).

    I went back to my file manager and highlighted my html file. When it shows up, it appears to be in text format and not rendering it as an html file. I had my friend who is a code writer view my code and he said it was the correct format and loaded perfectly on his local server.

    I have been figuring this out for a few hours now and after following many youtube tutorials on how to load files into the cpanel, it still not working properly. Is there anyone that can offer any advice?

    Please see the loaded images :
     

    Attached Files:

  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,455
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    The files need to go in the public_html folder and the page you want to show has to be named index.html
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. joevaz81

    joevaz81 Registered

    Joined:
    May 8, 2019
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Zhejiang China
    cPanel Access Level:
    Website Owner
    Thank you for your reply. I did that and the site wouldn't show. I changed the html file name to index and it works perfectly. Thank you!
     
    cPanelMichael likes this.
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,455
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Happy to help!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,273
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @joevaz81,

    I'm glad to see it's working well. I've marked this thread as solved.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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