Note that FTP, while commonly used, is not a secure way of transferring data as it is unencrypted. If you are uploading sensitive information, it is better to use SFTP, which is encrypted.
Also, in order to transfer files via FTP, you must also have installed an FTP server. If you have not done so, you may do so now by going to your Gandi AI server configuration page
Now that you know how to connect to your AI server via FTP, here is information that will tell you how to upload your website to your server.
Many people use a graphical FTP client (ex. Filezilla, CyberDuck…) to upload files to their websites using FTP. Because each client is different, the particular terms used will be different (username, user, login, etc…), but the basic information is the same.
admin
(or the user you have attached to the virtualhost).
Here is an example of logging in using CyberDuck (replace 123.123.123.123
with your own server's IP address):
Be sure to use PASSIVE MODE.
admin
”.
Once logged into your server using FTP, you will see a folder that corresponds to the disk name.
d_servername
(where ”servername
” is the name of your server. If you have not specifically created a disk and attached it to your server, you will be using your default disk.
ficus
, then Gandi AI will create a disk called d_ficus
…) www/
directorywww/
directory. Open the directory of the website that you want to upload files to.htdocs/
directory. This is where your website goes.
(disk_name)/www/www.somewebsite.eu/htdocs/
Please observe the following:
www/
directory, as they will not be visible on the web..htpasswd
) in the directory that corresponds to your virtual host (in the example, this is in the directory www.somewebsite.eu/
).htaccess
file) in the htdocs/
folder.
In the below example you can see that the server is hosting three websites, and that the user is going to upload his/her files into the folder that corresponds to the website www.somewebsite.eu
.
Note that you will see Gandi's default index.html
and image in that folder. They can be safely overwritten by your own website. As a reminder, your website needs to go IN the htdocs/
directory for it to be seen on the web, and associated with the right website.
If you have put the website in the htdocs/
directory, and if your HTML code is correct, then you will see your website on the internet.