How to Find the URL of a File
If you want to share a web file with friends or the public, you first need to determine the path of the file.
Files on the Primary Domain
To determine the URL for files hosted on your primary domain:
- Log in to FTP or File Manager and note the parent folder where your file is stored (normally the public_html folder).
- Double-click the appropriate folder icon to navigate inside public_html. If you are unfamiliar with the File Manager.
- If you see the file here, you are done. If you need to navigate inside more folders to find your file, note each folder. (Folder names are case-sensitive, so you must use the exact capitalization and spelling.)
- Once you locate your file, you should have noted the full path (a list of the folders you must go inside, respectively, to find that file).
- Now, add the file name, exactly as it appears, to the end of the path. (File names are case-sensitive, so you must use the exact capitalization and spelling.)
- Almost there! Now you just need to replaceÂ public_html withÂ http:// and your primary domain name.
- Try to browse these URL's and you will see the file you uploaded.
Files on Addon Domains and Subdomains
You can even determine file URLs for addon and subdomains. Just replace thepublic_html/subfolder/ part with the addon or subdomain name.
For the addon domain myblogdomain.com with the document root in the blog subfolder (inside public_html). A path like
Was this answer helpful?
How to Clean Unmanaged Log Files Warning: This document describes an...
Essential ftp Commands Table 29–3 Essential ftp Commands Command Description...
The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...
Sometimes it's necessary to make sure your website’s visitors use the SSL encrypted connection....