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:

  1. Log in to FTP or File Manager and note the parent folder where your file is stored (normally the public_html folder).
  2. Double-click the appropriate folder icon to navigate inside public_html. If you are unfamiliar with the File Manager.
  3. 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.)
  4. 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).
  5. 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.)
    For example:
    public_html/My_Book.pdf
    public_html/images/banner25x120.JPG
    public_html/blog/includes/Movies/bigjump.avi
  6. Almost there! Now you just need to replace public_html with https:// and your primary domain name.
    For example:
    https://primarydomain.com/My_Book.pdf
    https://primarydomain.com/images/banner25x120.JPG
    https://primarydomain.com/blog/includes/Movies/bigjump.avi
  7. 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 likepublic_html/blog/includes/Movies/bigjump.avi would become:

https://myblogdomain.com/includes/Movies/bigjump.avi

  • 4 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

How do I add a record to the DNS

A. To add a record, for example TAZ with IP address 200.200.200.4 perform the following on NT...

Someone’s Sending Email that Looks Like it’s from Me to My Contacts, What Can I Do?

If your contacts are getting email from you that you didn't send, then it's very likely that your...

Spam Procedure

    Spam Procedure     Contents 1 Intro 2 Types of spam 3 Tools of the...

SSH Brute Force – The 10 Year Old Attack That Still Persists

One of the first server-level compromises I had to deal with in my life was around 12 ago, and it...

How do I upgrade or downgrade my hosting account?

You can upgrade or downgrade any of the following hosting accounts: Gambia RiverDraa RiverKwango...