Setting up first website
Hey y'all. Using cPanel happened as of this morning for me, and I could use a bit of guidance. I've loaded a test site into home/user/test. 1) how do I open the actual files in a front end view to test the site. I can only see where I can open the html file. 2) Where do I allocate the test site a url, or if a url is automatically allocated, where do I pick it up?
I realise both questions are linked. I'm a digital marketer with html experience by trade, not a techie, but sometimes we have to do... Any assistance would be appreciated.
-
home/username/public_html/ is the same as: example.com Does that help? 0 -
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 directory0 -
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 directory0 -
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 -
So me setting up a subdomain per the attached pic was a waste? 0 -
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 -
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.html0 -
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 -
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 -
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.
Comments
10 comments