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!

Problem with website loading

Discussion in 'General Discussion' started by Vilmer, Nov 20, 2018.

  1. Vilmer

    Vilmer Registered

    Joined:
    Nov 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sverige
    cPanel Access Level:
    Website Owner
    I have no idea of what im doing tbh

    could any1 please just quickly look over my code(its not very long) and tell me why i cant seem to get it onto the website

    ive named my folder Index.html

    - Removed -

    Please help,
     
    #1 Vilmer, Nov 20, 2018
    Last edited by a moderator: Nov 20, 2018
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    441
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    If this what you wanted to display, the code is working fine:-

    Screenshot-2018-11-20 SKOL LAN GALÄREN.png

    If you can't see the web page in your browser, you have either not uploaded it to the /public_html folder, or you have the file permissions or ownership incorrectly set.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Vilmer

    Vilmer Registered

    Joined:
    Nov 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sverige
    cPanel Access Level:
    Website Owner
    upload_2018-11-21_14-55-36.png
    this is my current things in public (is it right?)
    please help

    i dont really know how to change the file permissions or ownership incorrectly set
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    441
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    1. Highlight the index.html file
    2. Right click and select Change Permissions
    3. Alter the Permissions to 6 4 4 (they are currently set to 664 according to your screen shot)
    4. Click the Change Permissions button at the bottom of the box to save

    See if you can see the page in a browser :)
     
    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,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Vilmer,

    Let us know if you have any additional questions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Vilmer

    Vilmer Registered

    Joined:
    Nov 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sverige
    cPanel Access Level:
    Website Owner
    upload_2018-11-21_20-9-16.png
    it currently just says this, how do i fix, as stated before im super new to this kinds of stuff
    upload_2018-11-21_20-10-5.png
    screenshot of my public html folder
    my website is domain.tld
     

    Attached Files:

  7. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    441
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I think that you should now be asking your hosting company for help. The file permissions look ok at 644. and the website should be served.

    You might need to check that you don't have a rule in the .htaccess file that is blocking you. (You may need to check Show Hidden Files in the Settings - Top Right -) to be able to see the 'dot' files like .htaccess
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    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