This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Finding 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.

  1. Login 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, please look at our Navigating the File Manager article.
  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 simply 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.)

    Here are some examples:
    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 http and your primary domain name (example.com in the examples below).

    Same examples:
    http://example.com/My_Book.pdf
    http://example.com/images/banner25x120.JPG
    http://example.com/blog/includes/Movies/bigjump.avi

  7. Try to browse these URL's and you will see the file you uploaded.

URLs with Addon Domains and Subdomains

This can even be done for addon and subdomains. Just replace the public_html/subfolder/ part with the addon (addondomain.com) or subdomain name (subdomain.example.com).

For example, if my addon domain is myblogdomain.com, and the document root for that domain is the subfolder /myblogdomain/ (inside public_html of course).

A path like public_html/myblogdomain/includes/Movies/bigjump.avi would become http://myblogdomain.com/includes/Movies/bigjump.avi

Knowledgebase Article 150,482 views bookmark tags:


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article explains how to find the database in use by a WordPress site.
Knowledgebase Article 330,387 views tags: database find wordpress

This article will explain where email is stored in your system directory.
Knowledgebase Article 201,564 views tags: backup email folder maildir mbox

This article will walk you through uploading files using the File Manager
Knowledgebase Article 380,264 views tags: cpanel file upload

Related Help Content

There are many ways that you can transfer files and folder to and from your hosting account. We highly recommend using an FTP (File Transfer Protocol) program to quickly upload and download files. We
Getting Started Article 326,308 views tags: file files filezilla manager setup

This article will explain how to utilize GZip through the file manager.
Knowledgebase Article 231,256 views tags: archive compress compression decompress file gzip management zip

This article will explain how to run php and other file types using Cron jobs.
Knowledgebase Article 524,153 views tags: cron file jobs php

The hosts file is a plain text file that allows you to set IP Addresses for a domain on your computer. This may override authoritative DNS.
Knowledgebase Article 113,996 views tags: admin development dns file hosts ip test

How do I password protect a folder on my website?
Knowledgebase Article 315,118 views tags: folder password protect

How do I Password Protect a single file on my website?
Knowledgebase Article 288,084 views tags: file passwd password prompt protect secure single

How do I make a sub directory (or sub folder) act as the public_html for your main domain?
Knowledgebase Article 1,097,642 views tags: Drupal domain htaccess joomla wordpress

A list of common log files and their locations.
Knowledgebase Article 122,946 views tags: dedi dedicated directory file folder list locations logs vps

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.