Documentos de Académico
Documentos de Profesional
Documentos de Cultura
| InMotion Hosting
WEB HOSTING DOMAINS WEB DESIGN SITE HOSTING TOOLS MEET US SUPPORT CENTER AMP LOGIN
Support Center >> Website >> Getting Started Guides >> How to Find the Document Root of your Website?
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.
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.
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 3. You will see a list of addon domains configured in your account, the
document root will be listed here.
Step 3. You will see a list of addon domains configured in your account, the
document root will be listed here.
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.
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
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
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
My php file is in one domain and i want to access image from other
domain.
example2.com->image->img.jpg
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.
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?
Reply
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
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 ?
Thanks a bunch,
Lavinia
Reply
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.
Thank you,
John-Paul
Reply
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
InMotionFans This has confused me for quite some time and I'm still learning this stuff.
n/a Points
Reply
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
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
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 ?
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
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 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
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
My Client already setup the project and both domain. When i ping to both domain it gives
me same IP Address.
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.
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
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
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
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!
Reply
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
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
Reply
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
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
Reply
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
InMotionFans
n/a Points
How can I change that? Thanks
Reply
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
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
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.
InMotionFans Reply
n/a Points
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
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
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
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
Reply
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
InMotionFans thanks
n/a Points
Reply
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
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
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
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
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
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
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
Thanks in advance
-Amrinder
Reply
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
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
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
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
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.
Cheers,
Reply
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
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
Reply
InMotionFans
n/a Points
Thank you for contacting us. We are happy to help, but will need some additional
information.
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
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
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
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.
- 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
Reply
InMotionFans
n/a Points
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.
If you have any further questions, feel free to post them below.
Thank you,
-John-Paul
Reply
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.
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
Thank you,
John-Paul
Reply
i cant find index.html and any main page source code file
in public_html folder please help me.
InMotionFans Reply
n/a Points
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.
Thank you,
John-Paul
Reply
Kind Regards,
Reply
Post a Comment
Name:
Email
Address:
Comment:
File Edit View Format
Formats
p
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
ABOUT US
Contact Us
Terms of Service
Privacy Policy
Blog
Guarantee
Testimonials
We're Hiring
Site Map
Press
Stay in touch on
https://www.inmotionhosting.com/support/website/getting-started-guides/where-to-upload-files 25/25