Está en la página 1de 25

2/9/2018 How to Find the Document Root of your Website?

| InMotion Hosting

Questions? Contact Support:


SUPPORT CHAT SKYPE 888.321.HOST(4678)

WEB HOSTING DOMAINS WEB DESIGN SITE HOSTING TOOLS MEET US SUPPORT CENTER AMP LOGIN

How may we help? SEARCH

Support Center >> Website >> Getting Started Guides >> How to Find the Document Root of your Website?

How to Find the Document Root of your Website? Related Questions


Written by John-Paul Briones Views: 365,064 Published: Jan 22, 2018 Comments: 114
Here are a few questions related to
this article that our customers have
Discussions on this article: Can't find index.html - "Website Coming Soon"
asked:
Can I change the document root?
making my website live

If you need to upload files to your hosting account, you will need to know to which directory to upload them. The specific Website created in DreamWeaver -
directory you will upload them to will depend on whether you are working with the main domain, an addon domain, or a Can't get it uploaded properly
subdomain. In this guide, we discuss how to determine the document root of your website. Would you like to ask a question
about this page? If so, click the
button below!
Finding the Document Root
ASK A QUESTION
A domain's document root , also known as the home folder , is the main folder that contains all of the files for either a
domain or a subdomain.

Main Domain Support Center Login


The document root for your main domain name is your public_html folder. This means when someone visits your main
Our Login page has moved, Click the
domain, the server returns files that are located in the public_html folder.
button below to be taken to the login
Subdomains page.

The document root for a subdomain is a bit different. If your subdomain is http://store.example.com , then the document
root folder would be public_html/store . LOG IN

Addon Domains
Addon domain document roots are very similar to subdomains. If there is an addon domain on your account, you will
need to look at the >cPanel Addon Domains section in order to see where the root folder has been set. Older versions of
cPanel used to automatically set the addon domain folder under the public_html directory, but this has been recently
updated to let users determine where the folder will reside. Below is a charted explanation as well.

Default document root structure


The path to the specific folder within your account will differ depending on whether it is the main domain, a subdomain,
or an addon domain. Below is a quick table guide to help you understand how they work.

Domain type URL path File Structure

Main domain http://example.com public_html

Subdomain http://store.example.com public_html/store

Addon domain http://example2.com add_on_domains/example2.com

How do I find the document root of an addon / subdomain?


If you are unsure of the document root folder for an addon or a subdomain because you did not go with the defaults, you
can find it by using the following steps.

Finding an addon document root

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 1/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Step 1. Log into cPanel

Step 2. Click the Addon domains icon

Step 3. You will see a list of addon domains configured in your account, the
document root will be listed here.

Finding a subdomain's document root

Step 1. Log into cPanel

Step 2. Click the Subdomains icon

Step 3. You will see a list of addon domains configured in your account, the
document root will be listed here.

What file loads first?


If no particular file is specified, the directory index file will be the first file the server
loads from a folder. For example, if you type in example.com/contact_us.php , the
server will return the contact_us.php page. If you type in simply example.com , the
server will load the directory's index file. The server looks for these specific files in
the following order:

1. index.htm
2. index.html
3. index.php

If the server does not find any of these files, it will display a default screen with a list of the files in the folder as shown to
the right. This can be a security risk so you always want to ensure that a file will be served instead.

Can I change the directory index file?


Some website design applications will name the home page something other than the standard index.htm , index.html or
index.php . For example, the application may name your homepage Welcome.html , Home.html , or even something. If
your application does this, you will need to modify your .htaccess file and set your Directory Index setting to match that
of website's first page.

How do I change the directory index?


To change your directory index, edit your .htaccess file and add the following line:

DirectoryIndex some-file.html

For example:
Let's assume that the homepage for your website is named Welcome.html. We need to update the .htaccess file so that
the server knows to load Welcome.html first, instead of index.htm. Open (or create) the .htaccess file in your domain's
document root and add the following line:

DirectoryIndex Welcome.html

Yes, it is that easy! Please note that the server is case sensitive, so be sure to use the proper case. For example,
Welcome.html is different than welcome.html.

This article is inaccurate. Add-on domains, by default, are NOT created 2018-01-20 8:06 am
inside the public_html directory. You have to specify that.
114 Questions
Comments
&

Reply
Can't find index.html - "Website
InMotionFans Coming Soon"

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 2/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

n/a Points Can I change the document root?

Hello, 2018-01-22 10:25 am Post a comment

Back to first comment | top


Thanks for pointing this out. Earlier version of cPanel did automatically place addon
domains into the public_html folder by default. However, the current release lets
users determine where that folder will be. I have updated the documentation to
Staff reflect this. Thanks again for pointing out the needed update!
40,899 Points Reply

it worked. but problem is when i do backspace it donot load the 2017-11-03 8:49 am
previous .php but displays error how to fix that issue ???

Reply

InMotionFans
n/a Points

Apologies, but we have no context regarding your post. Can you 2017-11-03 10:07 am
please provide further details on the actions you are taking
resulting in the error that you are seeing?
Reply

Staff
40,899 Points

Hi There, very useful information, but i have one questions, 2017-11-27 5:38 am
It is out of the post's context tho. I hope i can get an
answer for it. A friend of a friend once made a website for me, he gave is
almost all the information, like cpanel password and etc, but now that when
InMotionFans we want to change the website design and we don't know what he used
n/a Points making that website, and he is not willing to tell us that. contacted him
several times but no response. Is there any way I can find which developer is
used for my website through my Cpanel? or is there any other way to find that
out?

Reply

If your site is still up and running, Wappalyzer is a 2017-11-27 10:25 am


good tool for determining how your site was built.

Typically, WordPress would contain 'wp' files such as 'wp-content'. If


you can provide a link to your site, we are happy to try and help you
Staff determine how it was built.
30,563 Points
Thank you,
John-Paul
Reply

Sir/Mam, how are you doing? Just to make everything clear > I just want 2017-10-16 6:22 pm
to insert SSL certificate on my site so that I want to upload it in
public_html, but I couldn't find that public_html, so please help me in finding the
public_html or is there any alternative for that or can I create public_html?Thank You
InMotionFans
Reply
n/a Points

I suggest you reach out to your hosting provider. SSL certs have 2017-10-17 7:33 am
specific locations. Also, not all webservers your a "public_html"

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 3/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

folder. Contact support and they should be able to help you out.
Reply

13,821 Points

Hello, 2017-05-29 6:40 am

My php file is in one domain and i want to access image from other
domain.

InMotionFans For example.


n/a Points
example1.com->test.php

example2.com->image->img.jpg

i want to give path of img.jpg in test.php file.

How could i do that?

Reply

Hey guys, newbie here. I'm trying to install GravityScan Accelerator to 2017-05-16 9:24 pm
augment my WordFence plugin, and was instructed to upload a .php file
to my document root and ensure that the file can be accessed via the web.

Following the information on the support guide @


InMotionFans http://www.inmotionhosting.com/support/website/getting-started-guides/where-to-
n/a Points
upload-files, I uploaded the file (http://www.directpatientcarestl.com/gravityscan-agent-
81XXXX.php) to /public_html.

In order to test if the Accelerator is functioning, I was instructed to access it via the same
http://www.directpatientcarestl.com/gravityscan-agent-81XXXX.php in my browser.

But it didn't work. I've always paid someone to do this in the past, but financial constraints
require me to learn to do it myself. Either I didn't interpret the document root
nomenclature correctly -- or else, as the installation troubleshooting tip stated, I may need
to create rewrite rules in my .htaccess file or web server configuration to allow the
Accelerator to be accessed.

I don't know enough to even ask these questions properly, but where do you think I might
have gone wrong?

Thanks for your time!

Reply

Hello Robbhicks, 2017-05-17 11:07 am

Sorry for the issue with the file seeming to not be accessible after you uploaded it. I
checked it and the file is in the right place. I also fixed the timezone error (timezone
is set to "America/Los_Angeles" - that's where your server is located). The remaining
Staff error will need to be discussed with Wordfence. It's possible that you have caching
40,899 Points set and it needs to be cleared, because the error that I'm seeing makes reference to
a path that does not exist on our servers. Make sure you're referencing the file by the
correct and then try it again. If you see the fatal error, then you're seeing the same
thing as me. The problem needs to be resolved by the plugin developer at this point.

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 4/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Everything else appears to be functioning correctly.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
Reply

Good article, super easy to follow and very accurate. I had this problem 2017-05-10 7:07 am
that I named my index page indexBianca.html and i didn't knew it will
generate this kind of problem, being my first time building a website and publishing it.

But i have a question , can I make something about the fact that when i browse on other
InMotionFans pages from the website on the navigation bar from the browser it still appears
n/a Points
"www.website.com/about.html" (and the problem that bothers me is that .HTML at the
ending). Is there a way to edit what appears on the navigation bar ?

(and instead of www.website.com/about.html to appear www.website.com/about )

Thanks a bunch,

Lavinia

Reply

Hello Lavinia, 2017-05-10 4:01 pm

You can use re-write rules in the .htaccess file to modify links so that they don't
show the extension. Check this article for more detailed information on using the
rew-rite.
Staff
40,899 Points If you have any further questions or comments, please let us know.

Regards,
Arnel C.
Reply

Hello, i did what you told, but its not opening in my wordpress site. It's 2017-03-25 2:54 am
coming internal server error, please help me, how to fix this error,
Thanks you.Gatti RAQUL

Reply
InMotionFans
n/a Points

If you are getting a 500 error, you may want to check out our 2017-03-27 3:44 pm
article on troubleshooting 500 errors to see if that helps.
Reply

Staff
43,761 Points

I've finished building my site with BoldGrid. It says its saving and 2017-02-02 4:28 pm
publishing but I keep getting the "come back soon" page instead. I've

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 5/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

tried exporting (which saved as XML). How do I get what I've created in Bold Grid to post on
my Inmotion account?

Reply

InMotionFans
n/a Points

I checked your site, and it is loading an index.htm file instead of 2017-02-02 6:20 pm
the index.php file for BoldGrid/WordPress.

I recommend renaming or removing the "index.htm" file in your "/public_html" folder.


For example, to: index.htm.old
Staff
30,563 Points This should allow the index.php file for BoldGrid to load your site successfully.

Thank you,
John-Paul
Reply

Sir, 2017-01-27 10:09 am

I designed a small web page for an interactive signage monitor. I used


OpenElements. the preview on my desktop is ok. when uploaded to the media monitor,
instead of automatically loading the index.htm page (a few buttons which customer uses to
InMotionFans trigger prearranged playlists media files) a list of the zip file content which I uploaded
n/a Points
shows. I found index.htm in the list and touched it the dashboard comes up. I want the page
to load by itself on the assigned space. can you help? Thank you

Reply

hablosss, it sounds like you may need to change what file is 2017-01-27 10:26 am
loaded as your default index page.
Reply

Staff
2,858 Points

If I want a section like www.mydomain.com/something... 2016-12-03 6:22 am

Then what I do is create a file called something in my public_html


directory?

InMotionFans This has confused me for quite some time and I'm still learning this stuff.
n/a Points
Reply

Yes, that is correct. So for example, if you create a 2016-12-05 3:31 pm


something.html file in the /public_html folder you should access
it my going to example.com/something.html in a browser.

Thank you,
Staff John-Paul
30,563 Points Reply

The Long path tool is the very best program for error, unlock solution. 2016-11-17 4:28 pm

Try it and solved your problem.

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 6/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

I used the long path tool and I solved my error, unlocks problem solution.

Reply

InMotionFans
n/a Points

Hi, 2016-09-22 1:07 am

I am not able to see "public_html" folder on server. Is it mandatory to


upload files through "public_html"?? And also, as I am not able to see the folder
"public_html" I have directly uploaded my files to my website i.e. the-
InMotionFans page.website/admin/index.html. But the only prob now is script for the menu bar is not
n/a Points
working properly only on my website. When I open the same page through dreamweaver in
chrome or firefox it's working properly.

Please Help....

Regards,

sampada.

Reply

I suggest checking your file paths on the server. Typically, menu 2016-09-22 6:37 am
links may change when added to the server. Also, your doc root
depends on your host. If you're not hosted with us, it may not be public_html.
Reply

13,821 Points

i am facing problem one file is showing 3 times with diffrent url the site 2016-09-15 4:37 am
is made by someone else im just editing im working on seo example

http://edensanitarium.co.uk//about_marie.html

http://edensanitarium.co.uk/about_marie.html http://www.edensanitarium.co.uk/about_marie.html
InMotionFans
n/a Points when i work on one file it is chaning in all but as i am using seo it i saysing that 3 pages
using same title and same description please tell me the reason why pages are showing 3
times with diffrent url ?

regards Danish Qaim Khani

Reply

Hi Danish, you need to force either the www or the non-www 2016-09-15 7:19 am
version of the website. This can be done in the htaccess file. We
have a good tutorial on <a
href="http://www.inmotionhosting.com/support/website/htaccess/force-www-
htaccess">forcing www on your website</a>.
13,821 Points Reply

thank you so much it worked but having one minor 2016-09-18 4:10 am
issue http://*********.co.uk/is to redirecting to www why
?? your tutorial is for .com but my site has .co.uk ?

Reply
InMotionFans
n/a Points

Thank you so much issue is solved now 2016-09-21 3:20 am

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 7/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Reply

InMotionFans
n/a Points

Hii iam using a dedicated server for my web application. 2016-08-12 2:04 am

i am using tomcat as my server and the server coding is done in java.

i want to store users profile images on the server file system , what is the best practice to
InMotionFans that, i mean in which directory i should create images folder, and i want to avoid hotlinking.
n/a Points
please help me..

Thankyou

Reply

Hello Sheshu, 2016-08-12 7:47 am

Thanks for your question. First, in terms of the location for storing image files, this
can be a matter of preference. However, in general, we often see files that are being
changed/uploaded located in a common area for files of that nature.
Staff Application/website infrastructure files are typically saved elsewhere. If you want an
40,899 Points example of this, you can look at how WordPress saves their files on the server.
Though they are in the same hard drive area, the content files that are uploaded by
user or website admin are located in the WP-CONTENT folder. This makes it easy to
update the other application files located in the other folders without touching the
content. It also centralizes where the content files are located making it easy to
backup or move. For better performance, if you have a lot of media files and you
make use of a content distribution network (CDN), then if you set up your site to
reference the CDN then there is a performance benefit to your viewers.

I hope this helps to answer your question, please let us know if you require any
further assistance.

Regards,
Arnel C.
Reply

very helpful. Just need to know how to link to a folder next to website 2016-08-09 10:20 am
folder. I have a folder named 'files' next to my add on website. In local,
its working fine but online, it takes me to index page rather downloading the file. how would
I call document root because if I add it directly, it comes as such
InMotionFans http://website.com/public_html/SSD/files/filename.doc and I know its not a correct path?
n/a Points if I remove it, it comes with http://website.com/files/filename.doc and still doesn't work.
takes me to website index page.

Just to clear a bit, my website is an add on website, public_html/SSD, and files folder is
under public_html. so I have to move back from SSD to reach the files inside files folder
Reply

I'm not sure what you are trying to accomplish. Is this a file that 2016-08-09 12:56 pm
you want to make downloadable? Or, is it supposed to display
like a regular HTML page?

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 8/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Reply

Staff
10,240 Points

i have a dynamic site , many html pages are not found error 404 there. 2016-07-22 7:09 am
how can i fix them , where can i find them in ftp for correction

thanks

InMotionFans js
n/a Points
Reply

Typically dynamic sites generate the pages using a script, so 2016-07-22 9:24 am
there are not any html pages to edit. Instead, you would edit the
code of the actual script generating the pages.

Thank you,
Staff John-Paul
30,563 Points Reply

Hello, 2016-07-08 3:59 am

My project is in Wordpress and i hosted it on server. It is working nice


with its primary domain.

InMotionFans But I want to add one additional domain to this project.


n/a Points

My Client already setup the project and both domain. When i ping to both domain it gives
me same IP Address.

That means both domain are pointing to same server.

But, When i open one domain It will open my wordpress project. And when i try to open
second domain it return cgi-bin directory.

I also tried to add Aliases But it gives me an Error : There was an error when the system
attempted to create the alias. Park::park(**********.com) failed: (XID 6ae776) The domain
“domain2.com” already exists in the Apache configuration.

I also tried to add AddOn Domain But I fail.

Can you please tell me where i did mistacks?

Reply

It seems like you might be seeing the file structure, since there 2016-07-08 11:56 am
is not a site there to load yet.

As a test, try creating an index.html file and putting some basic text there. Then, see
if the file will load.
Staff
30,563 Points Thank you,
John-Paul

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 9/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Reply

i am facing from long and didnt find any solution yet.i tried many 2016-06-29 4:05 pm
webhosting site to uplaod my website .after uplaoding every its
showing indexof / and all pages but not my website i build this website in asp.net
its showing aspx pages whwn i click on it it shows code only.where is my website
InMotionFans ????? whwn it will become live .
n/a Points and one more issue is even after regester the domain name its not showing is
google .only in my comp not in others comp.plzzz help me plzzzzzz
what to do
plzzzz

Reply

Hello Reza, 2016-06-29 4:19 pm

Sorry for the website issues. If you built your website using ASPX, then you are not
hosting the site on our hosting service since we are a Linux-based hosting service.
Based on what you have said, the most likely problem is that you are not using a
Staff standard INDEX page. By default, the web server typically looks for an index page.
40,899 Points This is the first page of your site. If it's not there, then web servers will typically list all
of the pages and label the page as INDEX OF. If your first website page is NOT named
INDEX.PHP, INDEX.HTM or INDEX.HTML, you will need to make sure that you have
defined the index page in the HTACCESS file. This might be a little different in a
Windows environment, but on our hosting service, the DIRECTORYINDEX command
can be used in the .HTACCESS file to define the index page for your site. You will
need to consult with technical support with a Windows-based host for further
details on the requirements for your site to appear correctly.

I hope this helps to answer your question, please let us know if you require any
further assistance.

Regards,
Arnel C.
Reply

I put my files in ecopraxis.com.br/public_html/FJS. The problem I don't 2016-06-21 8:28 pm


seem to understand is that I can only access them through FTP and not
through HTTP. I mean, I can see them in my browser when I type
ftp://ecopraxis.com.br/public_html/FJS but not when I type
InMotionFans http://ecopraxis.com.br/public_html/FJS.
n/a Points
Can you please give me a hint about what I might have not understood yet? Thank you.

Reply

You should be need to type in the "public_html" directory when 2016-06-22 7:29 am
looking up the domain. Normally you would be able to look up
the domain followed by the directory: example.com/FJS.
Reply

Staff
10,240 Points

Thank you Christopher. Eventually, I did figure that out, 2016-07-01 8:07 am
but it took me a while. :)

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 10/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Reply

InMotionFans
n/a Points

Hi, 2016-06-16 2:16 am

Im trying to defer parsing of a javascript file and to move the code in to


the bottom of the HTML file and include a JS code that tells the visualization to delay the
loading of that file, because its big, and fisrt to load and render the visual elements (for the
InMotionFans homepage ) and after that it can be loaded - so that can speed up my loading time of the
n/a Points
home page.

So im trying to find that html file but i can't, there are lost of html files in the ftp, but non of
them seems to have that JS code that i need to change... Every file is about difrent think.
For example 1 is for some buttons, other is for some part of the footer etc. How can i define
where is that HTML file, cause on my homepage, when i click "page source" i can see the
whole hmtl file but only there? Please help about that!

Thank you in andvance!

Reply

Hello George, 2016-06-16 7:30 am

Sorry for the problem! We can try to help, but we do need more information. Also, I'm
not sure how you're looking at your files. Are you using FTP? Or the File Manager? If
you're a customer of InMotion, then you can use the cPanel file manager. Give us a
Staff little more information and we can look into the matter for you.
40,899 Points
If you have any further questions, please let us know.

Kindest regards,
Arnel C.
Reply

When i search on Google for my website *****.in it shoes result but 2016-06-10 9:29 pm
below website link it Says A description for this result is not available
because of this site's robots.txt. and suggest me to change robots.txt file. but i couldn't find
robots.txt file in my cPanel file manager and when i searched for "robot" in all my files it
InMotionFans shows 'no result found'. So please tell me where i can find this file. url of this page is
n/a Points ******.in/robots.txt

Reply

Hello Sunil, 2016-06-13 1:14 pm

We do not have a default robots.txt file in our accounts. I see your account is not one
of ours, however. It is possible they do not give a default robots.txt file either. You can
certainly create one in your account so you can configure it as needed.
Staff
43,761 Points Kindest Regards,
Scott M
Reply

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 11/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Hi, 2016-03-19 6:14 am

I'm doing a wordpress setup on a fresh UNIX Hosting, I'm doing it


manually, I'm only stuck where and what to copy, should I copy the content of the
"wordpress" folder to the "public_html" root or the main folder itself "wordpress"? Whats
InMotionFans the better procedure? Please note that later my main WP will be a wordpress theme...
n/a Points
Thanks in advance

Reply

Hello Ali, 2016-03-21 5:55 pm

The wordpress files all go under the public_html folder individually. Having them
under a folder named 'wordpress' would mean they need to view your that portion of
your site at 'example.com/wordpress'.
Staff
43,761 Points Kindest Regards,
Scott M
Reply

Hi - I have been developing my site (using drupal 7) at 2016-03-06 3:13 pm


my.domain.com/beta subdirectory. When I am ready to "go live" do I
need to move all my files up one directory or can I point my.domain.com to the /beta
directory? If possible, I would want people NOT to see the /beta in the path.
14 Points Reply

Hello, 2016-03-07 3:49 pm

Drupal has a guide that may help you. It was designed for those who build their site
in a different location and then need to move it to their main site.
Reply
Staff
43,761 Points

Hi, 2015-10-04 10:50 am

I have created a website using HTML, it was running fine in


localhost/browser but once I uploaded to my cpanel, and when I visited my site I could see
only text and no images. I have uploaded the complete zip folder dont know whats gone
InMotionFans wrong.
n/a Points
PLease help!!

Reply

Hello Kay, 2015-10-05 11:39 am

Thank you for contacting us. We are happy to help, but will need some additional
information.

Staff When you view the image path (Chrome: right-click-->copy image URL, Firefox: right-
30,563 Points click-->Copy image location), are they in the correct location?

Can you provide a link to the site, so we can test the images?

Thank you,
John-Paul

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 12/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Reply

Ray, 2015-07-04 12:10 pm

my common.js file is being returned as 403 Forbidden: Permission


denied: file permissions deny server access

InMotionFans
n/a Points
How can I change that? Thanks

Reply

Hello Michael, 2015-07-06 4:02 pm

You may want to check out our article on file permissions.

Kindest Regards,
Staff Scott M
43,761 Points Reply

When I upload using FTP, with MS Front Page, do I have to upload 1 file 2015-04-11 10:35 am
at a time or does FP upload only changed pages or new pages?? I
have 7-800 files per week that I upload and uploading only a couple at a time will be a BIG
hassle.
InMotionFans
Reply
n/a Points

Hello Ray, 2015-04-13 9:48 am

FTP does not restrict you to only a couple of files at a time. You can upload as many
as you need. I am not sure how FrontPage handles this currently as we no longer
provide support for it. If it gives you issues, you can always use an FTP client such as
Staff WSFTP or FileZilla.
43,761 Points
Kindest Regards,
Scott M
Reply

Hi. I'm working on putting my site together using Joomla 2015-01-30 2:08 am
(bakerboysffl.com) but with one of my articles, I want to link to a file
that visitors can download or view in another window. I'm confused about where I need to
FTP the file in question. I don't see a "index.htm" file perhaps because the Joomla site uses
InMotionFans different terminology (?). Please point me in the right direction! Thanks.
n/a Points
Reply

Hello Todd, 2015-01-30 11:08 am

Thank you for your question. There are many extensions available that will allow you
to sell digital/downloadable products from Joomla.

Staff Some of the most popular are PayPal Digital Goods, DigiStore, and J2Store.
30,563 Points
If you have any further questions, feel free to post them below.

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 13/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Thank you,
John-Paul
Reply

Hi, Im having problem with my php index file. It always disappeared 2015-01-28 10:25 am
from my host server at exactly 8:00am. I always have re-upload it.

Thank you for your assistance.

InMotionFans Reply
n/a Points

Hello AAkwami, 2015-01-28 11:05 am

Sorry for the problem with the php index file. We're not really sure why you're losing
your PHP.INI file. However, you have given us NO information on your account (if
you're an InMotion customer). I would check your CRON jobs to make sure that
Staff nothing making changes to your files. The server would not be purposefully deleting
40,899 Points a critical file like the php.ini file.

If you wish for us to look into the matter further, then please provide more details on
your account and we can investigate the matter in more depth.

Regards,
Arnel C.
Reply

this is my first time using paid hosting. there's no index or default file. 2015-01-22 2:19 pm
no directories also. so i put an index.html file but it didn't do any
changes. it still shows "website coming soon". please help. thanks.

Reply
InMotionFans
n/a Points

Hello marco, 2015-01-22 2:59 pm

Thank you for your question. I first recommend clearing your browser cache and
testing your site again. This should pull the latest files associated with your site, and
may fix your problem.
Staff
30,563 Points If it doesn't change, you are most likely uploading your index.html file to the wrong
location.

Our guide on How to remove the InMotion Coming Soon page, explains more in-
depth how to replace the file.

Also, I could not locate an account on our servers associated with your information.
If you are not hosted with us, you may have different file structure.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul
Reply

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 14/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Hello, 2014-12-25 5:24 am

I have uploaded .7z files in server and applied link from html webpage
when I click on .7z link, it could not open. Looking for help what is proper html scripts to link
.7z files so that user can download .7z or how can i link .7z file in html webpage.
InMotionFans
n/a Points Reply

Hello Pawan Kumar, 2014-12-26 10:18 am

You should be able to link them as normal such as with a "a href" tag. Can you please
provide a link to your .7z file so we may look into the issue further?
Staff
10,077 Points Kindest Regards,
TJ Edens
Reply

I am trying to install opencart template . 2014-12-13 7:07 am

For that I uploaded downloaded .rar file from google in my domain


cpanel.

InMotionFans and after that when i open opencart admin


n/a Points
and in that when I select template it is getting selected but after saving default template
getting selected .

plz give me any suggestion.

Reply

Hello Mangesh, 2014-12-15 8:59 am

I am not quite understanding your question. This article is dealing with where to
upload your files. Are you having issues uploading files to your OpenCart? Or are you
saying once uploaded, when you select a new theme, the old one displays?
Staff
43,761 Points If your question is the based on theme selection and not where to upload the files,
please give as many details as possible on the steps you took, your OpentCart
version, and what themes you are using. But be sure to place them in a new question
and not here so we can maintain the integrity of the Support Center.

Kindest Regards,
Scott M
Reply

hi 2014-12-09 8:22 am

if i upload my files to the public_html...what should i use as my


VIRTUAL_LOCATION in the config.php file cox it is giving me error

InMotionFans thanks
n/a Points

Reply

Hello Seye, 2014-12-09 8:59 am

What software are you using? What is the error message you are getting? Is this for
your site? What function is it trying to perform when the error occurs?

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 15/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Staff Kindest Regards,


43,761 Points Scott M
Reply

Good day,I purchased a template from ThemeForest for my OpenCart 2014-11-20 1:04 am
website. I read your tutorials and downloaded Filezilla. It is my first time
using FTP. Everything is a-okay so far and I managed to quickconnect without a sweat. I
have already extracted the template into a folder on my desktop. I have two questions: 1. I
InMotionFans would like to know where exactly in 'Remote Site' I should drag the template files. Do I put
n/a Points them directly in public_html or do I create a sub-folder in public_html? Is there a more
appropriate folder to put website template files?2. How do I then run the template so it
takes effect on my new site. Usually, if I download a software, I can always look for the .exe
and double-click that to run an application. Template files don't seem to work like that and
use unknown extensions such as .sh, .sql. What should I double-click to make my template
work?I wouldreally appreciate your assistance!Cheers,William

Reply

Hello William, 2014-11-20 12:38 pm

Thank you for contacting us. I recommend following our walk-through guide on
Installing an OpenCart theme.

Staff It explains where to upload the files to (the root of your OpenCart installation), and
30,563 Points how to install the theme .
Thank you,
John-Paul
Reply

Thank you John-Paul,This is exactly what I needed. I will try 2014-11-20 1:11 pm
it afterwork tonight!Cheers,William

Reply

InMotionFans
n/a Points

i am using hosting and domain with hostgator.com and designing web 2014-10-27 6:20 pm
in prestashop 1.6 now i want to upload my product catalog in my
webpage in pdf format. so that my customers can directly download from my web page or
can i creat any link that can be uploaded in my web page so that i can send my customer
InMotionFans that link to download from my web
n/a Points
Reply

Hello PARRY, 2014-11-20 1:16 pm

Thank you for contacting us. You will have to create the pdf yourself, or use a 3rd
party Addon such as Export PDF Catalog 1.5 - PS 1.5 & 1.6 Module.

Staff can add the pdf as a downloadable product in PrestaShop, and set the price to free.
30,563 Points
Thank you,
John-Paul
Reply

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 16/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

hi everybody i got an issue in php,i have uploaded a php code webpage 2014-09-16 7:12 am
to my server, but when i click on that anchor tag, i am getting a error
message obviously its not a error message, i am getting The System cannot find the path
specified.
InMotionFans i am using godaddy server
n/a Points
Reply

Hello Prabudass, 2014-09-16 9:15 am

That type of error means that the server was told to look at a specific folder path. If it
looks for that path but cannot find one or more elements of the path (folder or file)
then it will throw that error. Check the code and any paths mentioned in it and then
Staff look to ensure that the exact same path exists in your hosting account.
43,761 Points

For example: if the code needs a path of 'abc/123/xyz.php' but the server only has
'abc/xyz.php' then the error will occur because it cannot find the '123' directory.

Kindest Regards,
Scott M
Reply

hi, 2014-09-18 6:52 am

just now i uploaded my php script page to my live server


(free hosting site), its works fine but when i upload the same page to my paid
server godaddy its says the system cannot find the path specified.
InMotionFans
n/a Points Reply

Hello prabudass, 2014-09-18 9:50 am

Thank you for your question. I recommend checking the specified path
in the script, and make sure it is correct with Godaddy's file structure.

Staff I tried to find a guide in Godaddy's Support site, but could not find
30,563 Points anything helpful. You may want to reach out to them via ticket or
phone support.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul
Reply

article is fine, just not what I need. I cannot find my WP pages (dozens 2014-09-13 3:55 pm
of them) via ftp
Reply

InMotionFans
n/a Points

Hello Jonathan, 2014-09-15 10:09 am

Word press posts do not exist in the account as files. Each post, page, etc is created
at the time it is clicked by the server. The data for each post/page is kept in the
wordpress database.

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 17/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Staff
43,761 Points Kindest Regards,
Scott M
Reply

Hello Team, 2014-09-07 12:58 pm

I am facing one problem in my magento website.

I have a email newsletter which have some images to show.


InMotionFans My problem is to access the images outside the website. For example, when i typed the
n/a Points
url/path of images paced in website, it shows 404 error, because magento think this is a
some page name(which is not actually).

I just want to access those images. For example example.com/newsletter_images/offer.jpg

Guys, please help. I am stucked in this.

Thanks in advance

-Amrinder

Reply

Hello Amrinder, 2014-09-08 9:34 am

You may want to make this a new question under the Magento category.

By the basic description, we would not be able to give any advice. Do you have a
Staff specific link to an image in your newsletter you can share so we can check? Also, if
43,761 Points you are a customer, we are able to assist by checking files and folders in the account
for things such as permissions, or hotlink protection, etc.

Kindest Regards,
Scott M

Reply

information for code development sharing...... 2014-09-03 8:23 am

Reply

InMotionFans
n/a Points

How to fix the php issue? I won't execute the simple phpinfo(). 2014-09-03 2:19 am

Reply

InMotionFans
n/a Points

Hello, 2014-09-03 9:02 am

Thank you for contacting us today. After creating a phpinfo page, you should be able

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 18/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

to see your PHP settings right away.

If it is not, we are happy to help, but will need some additional information.

What happens when you go to your phpinfo page? Are you getting any errors? What
Staff are the errors?
30,563 Points
Can you provide a link to the page you are creating, so we can test the problem?

Thank you,

John-Paul
Reply

Hi everyone, 2014-09-02 11:44 pm

I've been searching for couple days and really fraustrated and did
could not found the answer I am looking for. I have a small web application which uses php,
javascript, jquery, and html. the only file the user is supposed to see is html file. java script
InMotionFans and jquery are the only files communicating with php script (sending data over and
n/a Points
receiving data). Therefore, I don't want to place my php file inside htdocs and I rather put it
in cgi-bin. But my problem is when I place them in any folder before htdocs, it does not
work. for example: if my html file is in htdocs and i leave my files in htdocs/bin/myJsfile.js ,
myPhp.php , it works.

I'm using apache 2.2 and I'm sure I have the correct permisson for cgi-bing which is 755.
Overall, the only reason for me to do that is because if the user opens up my js file from
page source view, they can see what is the name of php file it's communicating with which
can be very harmful. The reason is if the user search for example: localhost/myphp.php, it
means they can have access to that actual file, regardless of they wont see the code.

Is there anyway I can place and read php file on cgi-bin?

I appreciate if someone help me with that.

Cheers,

Reply

Hello Mors, 2014-09-03 1:42 pm

Thank you for your question. As long as your user has permission to the .js, and .php
file, you should be able to access it via absolute path.

Staff If you have any further questions, please feel free to post them below.
30,563 Points
Thank you,
John-Paul
Reply

Too early for me to judge. Wait till I upload my site folders and files and 2014-08-22 9:20 pm
then I willl know whether you are better than godaddy. If so, I will
consider moving my other sites from godaddy to inmotion.
Reply
InMotionFans
n/a Points

Hello Joseph, 2014-09-03 8:52 am

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 19/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Thank you for your feedback. Our guide on moving your websiteto InMotion Hosting
may help with your transfer.

Also keep in mind Live Support is available 24/7 365 days a year, and we are located
Staff in Virginia Beach.
30,563 Points
If you have any further questions, feel free to post them below.
Thanks,

John-Paul
Reply

PHP isn't working for the subdomain I created. 2014-08-01 7:20 pm

Reply

InMotionFans
n/a Points

Hello Joseph, 2014-09-03 8:38 am

Thank you for contacting us. We are happy to help, but will need some additional
information.

Staff What is happening, are you getting any errors?


30,563 Points
Is this a new subdomain? Keep in mind newly created domains/subdomains can
take up to 24 hours to propagate.

Is the domain name pointed to our nameservers? If not, you must create the
subdomain where your DNS is hosted, and point it to your shared IP.

If you have any further question, feel free to post them below.
Thank you,
John-Paul
Reply

Hello, 2014-09-25 2:15 am


I need some favour, actually I have uploaded my website
on server.but it is in .net architecture.It all contains .aspx pages not .html. I
uploaded that but these pages are showing code on my website.what shouls I
8 Points have to do?
Reply

Hello, 2014-09-25 9:02 am

Microsoft specific pages like asp will only work on servers that are
Windows based or after extensive modification to be able to do so. Our
servers do not work with Windows products as they are Linux based.
Staff
43,761 Points Kindest Regards,
Scott M
Reply

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 20/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

How to ftp to my root directory? I'm learning web development and I 2014-08-01 3:45 am
would like to know how to move my files/pictures to the root directory
so people can see my webpage. Also, would you please tell me if inmotion server support
C++ script?
InMotionFans Thank you,
n/a Points
Reply

Hello Binh, 2014-08-01 8:52 am

The root folder for your primary domain name is public_html. The root folder for any
addon domain would be named after the domain and under the public_html folder.
For example, if you had an addon domain for example.com the root folder would be
Staff public_html/example.com
43,761 Points
As for the C++ scripts, they cannot run in the default server setup, but can be set up
if you have root access on a VPS or Dedicated server.

Kindest Regards,
Scott M
Reply

In the past there was the option of uploading multiple images. It is no 2014-06-04 4:18 pm
longer there. This is a huge inconvenience. Even if I were to upload
them through ftp, there is no folder for the photo albums to place them in. This is one of my
main uses for sharing religion and family events. Can the team make it so that at least
InMotionFans through ftp, we can upload into album folders?
n/a Points
Reply

Hello Jag, 2014-06-04 4:31 pm

You can use FTP to upload multiple images at once to the server.

Staff For instance, on your desktop if you created a folder called my_images, and then
9,968 Points inside that folder created another 3 folders called religion, family, and photos and
then started placing images that fit into each of those categories into those folders.
You could then simply connect with FTP to the server and upload the my_images
folder from your desktop to the /public_html directory on the server.

You would then be able to access those images from your website, for instance if
your website was example.com you would access those uploaded images at:

http://example.com/my_images/
http://example.com/my_images/religion
http://example.com/my_images/family
http://example.com/my_images/photos

Or you can just create the folders directly on the server via FTP that you'd like to
move images into and upload multiple images that way too.

Please let us know if you have any further questions at all!

- Jacob
Reply

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 21/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Question: Can I change the document root?


Can I change my document root? 2014-06-02 9:55 am

Reply

InMotionFans
n/a Points

Hello Ben, 2014-06-02 10:17 am

Thank you for your comment. While it is not common, there are ways to change your
document root; here is a link to our full guide.

Staff If you are on a shared server, you would have to submit a ticket, and request that
30,563 Points Live Support make the change for you.

If you have a VPS or Dedicated server, you can make the change with Root access.

Changing a primary domain's doc root is NEVER RECOMMENDED by InMotion


Hosting. cPanel restores packages based on default settings and miss document
root changes. So if the account is moved, the accounts with the doc root change
may break.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
Reply

Question: Can't find index.html - "Website Coming Soon"


You say in this article to delete InMotion's index.html file and we 2013-01-28 9:17 pm
shouldn't see the "Website Coming Soon" page. I can't find that file.
Where is it located?
Reply
3 Points

Hello Tmgiles6, 2013-01-28 9:20 pm

If your account is fairly recent you will NOT see the INDEX.HTML file. They have
removed it and only the default.html file exists now. If you place any type of index file
into the public_html folder, it will automatically become the primary index file.
Staff
40,899 Points This article was written for older accounts that have the INDEX.HTML file within the
public_html folder. Our apologies for any confusion. I will update the article with a
note shortly.

If you have any further questions, please contact technical support or leave a
comment at the bottom of the page.

Regards,

Arnel C.
Reply

This article was written for older accounts that have the 2013-02-20 4:38 am

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 22/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

INDEX.HTML file within the public_html folder. Our apologies for any
confusion. I will update the article with a note shortly.

Gulf Safety Equips Trading LLC


3 Points Reply

Hello Gulf Safety, 2014-05-05 2:04 pm

Thanks or the comment. As per my earlier reply, some of the older


accounts may have an index file, but any newly purchased account
starts with a "default.htm". The article above refers to a "document
Staff root" which is set to PUBLIC_HTML by default. However, this can be
40,899 Points changed as per our article: Changing the document root.

If you have any questions, let me know.


Arnel C.
Reply

2015-01-31 6:44 am
i made a site using php
and already hosted
but my registraion page access
InMotionFans or use the register.php page.I
n/a Points dont know how to resolve this
problem.please tell me how to
resolve it

Reply

Hello Devil, 2015-02-02 2:09 pm

Thank you for contacting us today. We are happy to help,


but will need some additional information.

Staff What problems/errors are you having?


30,563 Points
What CMS are you using? For example are you using
WordPress, Joomla, Drupal, etc.

Can you provide a link to the page you are having


problems with?

Thank you,
John-Paul
Reply

Sir, 2016-06-02 4:01 am

i cant find index.html and any main page source code file
in public_html folder please help me.

InMotionFans Reply
n/a Points

Hello Zaee, 2016-06-02 11:36 am

Thank you for contacting us. Depending on your specific site setup,
there may not be an index.html file in your /public_html folder.

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 23/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Staff For example, if you just signed up there will be a default.html file. If you
30,563 Points place any type of index file into the public_html folder, it will
automatically become the primary index file.

If you are running a PHP based web builder (such as WordPress,


Joomla, Drupal, etc.) there will be an index.php file instead.

Thank you,
John-Paul
Reply

Hi, 2016-12-30 6:21 am

i am trying to post data in a TCP Packet to a php webpage


from my mobile device which in turn stores that data in a mysql database. I
am trying to find the correct connection strings in order to access the php
InMotionFans script. Can anyone help me connect to the server storing the script (i.e what
n/a Points
is my server address which stores my website files) and what is the absoulte
file path to a specific document stored within public_html in cpanel.

Kind Regards,

Reply

Post a Comment

Name:

Email
Address:

Comment:
File Edit View Format

  Formats      
   

p

Type the text


Privacy & Terms

Submit Please note: Your name and comment will be displayed, but we will not show your email
address.

SUBMIT COMMENT

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 24/25
2/9/2018 How to Find the Document Root of your Website? | InMotion Hosting

Need more Help?

Search Ask the Community!


How may we help? SEARCH Get help with your questions from our community of like-minded hosting
users and InMotion Hosting Staff.
Browse Questions Ask a Question

Current Customers Not a Customer?


Chat: Click to Chat Now E-mail: support@InMotionHosting.com Get web hosting from a company that is here to help. Sign up today!
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

WEB HOSTING HOSTING FEATURES

Business Hosting SSD Hosting


VPS Hosting Shared cPanel Hosting
Dedicated Servers eCommerce Hosting
Enterprise Hosting Solutions SSH Hosting
Reseller Hosting Ruby Hosting
WordPress Hosting PostgreSQL Hosting
Launch Assist� Cheap Hosting
Managed Hosting Cheap Dedicated Servers
Domain Names Transfer Websites
Web Design Services

HOSTING TOOLS COMMUNITY

WordPress Premier Support �


Joomla Support Center
Drupal Host Affiliate
cPanel Web Hosting Infographics
PrestaShop Los Angeles Hosting
Moodle Green Data Centers
OpenCart Student Web Hosting
BoldGrid *NEW* Partners

ABOUT US

Contact Us
Terms of Service
Privacy Policy
Blog
Guarantee
Testimonials
We're Hiring
Site Map
Press

Stay in touch on

6100 Center Drive, Suite 1190


Los Angeles, CA 90045

https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 25/25

También podría gustarte