Difference between revisions of "About FTP and Shared Hosting"

From XMission Wiki
Jump to: navigation, search
(How does FTP work with my Shared Hosting?)
(What is SFTP?)
Line 2: Line 2:
  
  
==What is SFTP?==
+
==What is FTP?==
  
SFTP (Secure File Transfer Protocol) is a protocol used to transfer files over a TCP/IP network (Internet, UNIX, etc.). For example, after developing the HTML pages for a website on a local machine, they are typically uploaded to the Web server using SFTP.
+
FTP (Secure File Transfer Protocol) is a protocol used to transfer files over a TCP/IP network (Internet, UNIX, etc.). For example, after developing the HTML pages for a website on a local machine, they are typically uploaded to the Web server using FTP.
  
SFTP includes functions to log onto the network, list directories, and copy files. SFTP operations can be performed by typing commands at a command prompt or via an SFTP client running under a graphical interface such as Windows.  
+
FTP includes functions to log onto the network, list directories, and copy files. FTP operations can be performed by typing commands at a command prompt or via an FTP client running under a graphical interface such as Windows.  
  
'''We highly recommend using an SFTP client, such as Filezilla which is available at http://filezilla-project.org/'''.  
+
'''We highly recommend using an FTP client, such as Filezilla which is available at http://filezilla-project.org/'''.  
  
As there are many SFTP clients out there, the interface for each will differ slightly. The screenshots used in the instructions below are from Filezilla but '''the basic settings should be the same no matter what SFTP client you choose'''.
+
As there are many FTP clients out there, the interface for each will differ slightly. The screenshots used in the instructions below are from Filezilla but '''the basic settings should be the same no matter what FTP client you choose'''.
  
 
==How does SFTP work with my Shared Hosting?==
 
==How does SFTP work with my Shared Hosting?==

Revision as of 12:09, 24 October 2017

Plesk Shared Hosting: About FTP and Shared Hosting

What is FTP?

FTP (Secure File Transfer Protocol) is a protocol used to transfer files over a TCP/IP network (Internet, UNIX, etc.). For example, after developing the HTML pages for a website on a local machine, they are typically uploaded to the Web server using FTP.

FTP includes functions to log onto the network, list directories, and copy files. FTP operations can be performed by typing commands at a command prompt or via an FTP client running under a graphical interface such as Windows.

We highly recommend using an FTP client, such as Filezilla which is available at http://filezilla-project.org/.

As there are many FTP clients out there, the interface for each will differ slightly. The screenshots used in the instructions below are from Filezilla but the basic settings should be the same no matter what FTP client you choose.

How does SFTP work with my Shared Hosting?

SFTP is the recommended way to upload the files you have created for your website to our server. In general, SFTP, both as a command-line function and as utility, is more reliable than uploading files via your web browser. It is also a useful tool in making files available to friends, family, or clients without sending bulky attachments via email.

How do I find the Server Host for XMission's Plesk Shared Hosting?

  • In most cases your hostname will be your domain name. So if your domain name is stmyl.com your hostname will be ftp.stmyl.com
  • If your domain is not pointing to XMission servers and you are developing your site, follow the instructions below.

The first thing you'll want to do is log into your Plesk Control Panel at http://hosting.xmission.com. For more information about logging into your Plesk Control Panel, please see Administration/Logging in.


Once logged in, click on the "Websites & Domains" tab as seen below:

Plesk tabs new.png


Next to your domain name you should see Hosting Settings. It can also be found in the Show More tab.

Hosting-settings.png



How do I connect to XMission's Plesk Shared Hosting FTP server via an FTP Client?

As mentioned, every FTP client has a slightly different interface. However, the three pieces below are typically all that is necessary to create an FTP connection:

Host Address = The URL for your site appended with 'ftp' in the beginning. Example: ftp.yourdomain.com
UserID or Username = username (Your FTP username. For more information on creating and managing FTP users, please see Managing_FTP_Access/Users)
Password = password (Your FTP password. For more information on creating and managing FTP user passwords, please see Managing_FTP_Access/Users)
Port = Port # (Our servers use exclusively SFTP, so you will want to use port 22 primarily. If you are having issues connecting over this port, use FTPS with Explicit SSL over port 21.)

For example, using Filezilla, a common connection would look like this, where ftp.yourdomain.com is the example host and example_user_ftp is the example username:

NOTE: If your nameservers are not pointing to XMission, please use the IP address for your shared server for your host name. This can be found in your Websites and Domains tab.

Filezilla ftp updated.png


Once the connection is complete, you will both the local site (your computer or device) and the remote site (the web server):

FTP connect2.png


In most cases, the root folder for your website is going to httpdocs and you will want to upload the files for your website to this directory. This can be done a variety of ways. You can select the files you want to upload, and right click them for uploading options, or you can also simply drag them to the remote site and folder you would like them to be uploaded to.

FTP connect3.png


SFTP doesn't work for me. How do I connect over FTPS?

If for some reason you are not able to connect with SFTP over port 22, there is the option to connect with FTPS over port 21. These instructions are specific for Filezilla, but the settings themselves should work in any client.

First, open up the Site Manager.

Filezilla connection manager.png


In here, click on New Site.

Filezilla connection manager new site.png


This will allow you to edit the connection details for a new site. Input your credentials (username, password, host name), and otherwise match the settings to what you see below.

Filezilla connection manager ftps settings.png

Once you're all done, click Connect.



Additional Development Help

Applications

Domain Management