Please Login or Register

Accessing via FTP

If you are not familiar with linux and/or cPanel, it could be a little confusing understanding how files and directories are organized in your hosting account.


First of all, when you open a hosting account with us, you receive and E-mail which explains how to access your hosting account via FTP and cPanel. In other words,  this E-mail provides you a "username/password" credential that works for two purposes:

  • Access to cPanel
  • FTP Access for file management

This credential will be always the master credential. You can't change the username, nor delete it.
With this credential you will have total access to all of your hosting account related data.

 

How to access cPanel


How to access to your allocated space using your FTP account

Open your preferred FTP client (If you are using Dreamweaver, consider that it has a built-in ftp client)

Enter the following data:

  • FTP host: enter your domain name, or if stills not propagated, enter this IP: 174.120.172.155
  • Host directory (optional): This is the directory where your web content should be. enter "public_html" (without quotes). If you don't specify this data, be aware that files that you upload, will be inaccessible by the browser.
  • Username: your username
  • Password: your password

 

Let us now explain you the difference between Root Directory (not to be confused with "web root") and Host Directory (also called "web root"):

Root Directory

The root directory is the main directory, where all your hosting files are saved, either accessible by the browser or not. The root path is the following:

/home/[yourusername]/

For instance, if your username is "music", the root path would be:

/home/music/

This means that if you access via FTP without specifying the host directory (public_html), you would be accessing to /home/music/

Of course, for security reasons, you can't go outside this root path. That's why it's called "root directory". In other words, your hosting experience starts inside the "music" directory. This also means that your default directory access would be /home/music, meaning that you don't have to specify the full path "/home/music/"


Host Directory (public_html)

The host directory, also called "web root" is the directory where you put all website files which you want to appear when someone types your main domain (the one you provided when you signed up for hosting).

Following the previous example, The host directory would be located at:

/home/music/public_html

This is one of the reasons why programs like Dreamweaver ask you for a host directory, so you can upload content directly to the place where your domain points to.

This doesn't mean that you can't upload content outside the public_html directory. For instance, you can upload an index.html file to /home/music/, with the following result: /home/music/index.html, but it wouldn't be accessible by the browser. This is great for uploading content you want to keep securely away from public eyes.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Powered by WHMCompleteSolution

Language:


Testimonies

"SACITY has been helping us on our website in every aspect. Our online store has been hosted with them since the last 3 years. We haven't had not even a single trouble. They really know how to take care of business. Highly Recommended."

Dr. Terry MorĂ¡n, Ph.D
Iglesia Un Camino Mejor


Client Login

Email

Password

Remember Me


SSL Certificate