cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

URL/Path to document root

Hi all.

 

Sorry for  a Newbie question.

 

I had uploaded a HTML file via FTP to my webspace, which i can confirm is uploaded as is showing on cPanel as being there. However, i do not know what URL/Path i need to enter to get to the file online. It isn't yet linked to my domain name.

 

So, the question is: How do i find out what my path is to the document roof for me to access the HTML file online? (European server)

1 ACCEPTED SOLUTION

I don't believe a backdoor to the files without a domain is available due to security concerns.  If you add a sub-domain that would give you a URL that could be used to access the file in a browser.  Another option is to hardcode the request on your computer which would only affect that computer. https://www.godaddy.com/help/preview-your-website-using-hosts-files-3354

View solution in original post

3 REPLIES 3
Nate
Super User I

If there's a dedicated IP address that can be used in place of a domain, but with shared IP accounts the space is tied to the domain.  If you're looking to test it out before switching over the main domain you can use a sub-domain instead (like dev.yourdomain.com).

Thanks for the advice. However, I am not trying to use the domain to point to the file. I just want to access the file from a browser by using the path to the webspace.

I don't believe a backdoor to the files without a domain is available due to security concerns.  If you add a sub-domain that would give you a URL that could be used to access the file in a browser.  Another option is to hardcode the request on your computer which would only affect that computer. https://www.godaddy.com/help/preview-your-website-using-hosts-files-3354

View solution in original post