HostMonster 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:

  6. Almost there! Now you just need to replace "public_html" with http and your primary domain name ( in the examples below).

    Same examples:

  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 ( or subdomain name (

For example, if my addon domain is, 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

Knowledgebase Article 15,712 views bookmark tags: (updated 814 days ago)

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. (updated 11 days ago)
Knowledgebase Article 367 views tags: database find wordpress

This article will explain how to access the mail folder for a particular email through the file manager. (updated 831 days ago)
Knowledgebase Article 7,765 views tags: email

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 (updated 1005 days ago)
Getting Started Article 150,534 views tags: file files filezilla manager setup

Related Help Content

This article will explain how to run php and other file types using Cron jobs. (updated 157 days ago)
Knowledgebase Article 250,234 views tags: cron file jobs php

An Error is reported when installing Frontpage extensions about a file or folder not being there. Though you are able to upload the file or find it on the server. (updated 205 days ago)
Knowledgebase Article 45,292 views tags: extensions page theme

How do I Password Protect a single file on my website? (updated 1001 days ago)
Knowledgebase Article 103,978 views tags: file passwd password prompt protect secure single

How do I password protect a folder on my website? (updated 204 days ago)
Knowledgebase Article 89,924 views tags: folder password protect

How do I make a sub directory (or sub folder) act as the public_html for your main domain? (updated 32 days ago)
Knowledgebase Article 537,671 views tags: Drupal domain htaccess joomla wordpress

Short tutorial on how to set file and user Permissions in cPanel. (updated 1008 days ago)
Knowledgebase Article 147,263 views tags: file permission permissions rights

What should I do if I am having problems with multiple password prompts on my password protected directory? (updated 2026 days ago)
Knowledgebase Article 79,547 views tags: folder password protect

This article will give a basic overview of the File Manager and explain how to access it. (updated 815 days ago)
Getting Started Article 192,003 views tags: cpanel filemanager