Skip to main content

Setting up first website

Comments

10 comments

  • Infopro
    home/username/public_html/ is the same as: example.com Does that help?
    0
  • Shelley Marais
    home/username/public_html/ is the same as: example.com Does that help?

    Hi, not really - I didn't load in public_html, because there's an existing site I need to leave up until the new one is beta tested I loaded the new one as home/user/test - not in the public_html directory
    0
  • Shelley Marais
    home/username/public_html/ is the same as: example.com Does that help?

    I've figured out where the viewer is, but still need to find the actual index url, in order to relink my images, JS etc Pic attached of directory
    0
  • Infopro
    Hi, not really - I didn't load in public_html, because there's an existing site I need to leave up until the new one is beta tested I loaded the new one as home/user/test - not in the public_html directory

    You'll need to move /test/, into /public_html/ for it to be viewable in your browser. So: home/username/public_html/test/ Also you might change the directory named Test, to test. No need for caps on directory names.
    0
  • Shelley Marais
    So me setting up a subdomain per the attached pic was a waste?
    0
  • Infopro
    You didn't mention the subdomain being created in your original post. You can create a Subdomain outside the public_html. You might want to remove it, and then recreate from: cPanel > Domains > Subdomains, without the upper case T in Testing though. Once you've properly recreated the sub.domain, and made sure it works at testing.example.com then: testing.example.com is the same as: home/username/public_html/testing/ Going by your screenshot: home/username/public_html/testing/test/
    0
  • Shelley Marais
    So me setting up a subdomain per the attached pic was a waste?

    Ok, I changed per the attached and your original comments - I still can't get the url for the test index.html
    0
  • Infopro
    Does example.com open in your browser properly? If yes, then: home/username/public_html/Test/index.html is: example.com/Test/index.html
    0
  • Shelley Marais
    Does example.com open in your browser properly? If yes, then: home/username/public_html/Test/index.html is: example.com/Test/index.html

    0
  • Infopro
    You're running cPanel on ubuntu? Seeing at your main domain does work, you might want to check permissions on that test directory, and the index.html you have in it.
    0

Please sign in to leave a comment.