You are here: Home Ipera Hosting Web & E-mail Hosting howto Uploading website content to your hosting platform

Uploading website content to your hosting platform

— filed under:

This document describes the different ways of uploading content to your new Ipera hosting platform.

FTP Account configuration.

There are numerous ways to upload content to your hosting platform, These include using FTP and HTTP through the Plesk desktop, In this document we
will walk you through using your favourite ftp client to upload your content.

hosting section.png
Within your plesk desktop select the domain you want to create the ftp account for, then in the "Hosting" section of this domain select  "Setup"  in the "account preferences" of the resulting webform enter your ftp details and click ok at the bottom of this page.

 

Then with your favourite ftp client use your domainname as the host and the username/password you created previously. If you do not currently have DNS  configured for this domain you can use the IP Address configured for your hosting setup which you can also find in the setup area of plesk.

 

When you connect to your ftp server you will be in the root of your hosting and have numerous folders already created these are as follows.

  • anon_ftp         
    This directory is used for anonymous ftp upload/downloads.
  • cgi-bin             
    A directory for your cgi scripts.
  • error_docs         
    This directory holds the html error pages that you can customize for your needs.
  • httpdocs            
    This is the root of your website where you should put all website related files.
  • httpsdocs          
    This is the SSL secured root of your website (https://), Of course if in the setup section of your hosting you ticked "Use a single directory for housing SSL and non-SSL content" then everything should be stored in httpdocs and you simply use http:// for normal connections and https:// for encrypted connections.
  • private
    This folder is for storing personal and private files and cannot be accessed by people using your website.
  • statistics
    This directory is used for storing web statistics and logging information of your website and ftp service.
  • subdomains
    This is used for the subdomains of your website, Eg. subdomain.ipera.com.au.
  • web_users
    This directory is for webusers you created in your plesk desktop.


    Now we will want to upload our website to httpdocs, Browse to this directory with your ftp client and upload your content, The default page must be named one of the following files
    After you have uploaded this content browse to your webpage with your web browser. If you also do not have DNS configured you can add to your hosts file or you can use the site preview option within plesk.

site preview.png

Hosts file configuration.

You can use a hostheader if your DNS has not been configured for Ipera Webhosting yet, Armed with your IP from ipera and the hostname of the website make the following changes depending on your operating system. This overrides default DNS resolution.

Windows:
  • C:\Windows\system32\drivers\etc\hosts

203.89.67.130 www.yourdomain.com

Linux and OSX:
  • /etc/hosts
    203.89.67.130 www.yourdomain.com

On Linux once a host is added to this file it updates instantly, However on OSX you need to restart lookupd on OSX Tiger and on Leopard you use the dscacheutil. Examples are below.

Tiger: 

Bash# ps auxwww | grep lookup
root        13   0.0  0.0    76980    488   ??  Ss   26Nov07   0:04.54 /usr/sbin/lookupd
Bash# kill -HUP 13

Leopard:

Bash# dscacheutil -flushcache

Using TTW (Through the Web) file transfers.


You can also upload content using Plesk Desktop's File manager located in the hosting section of your domain name, You can upload content, move content and delete content.
Although it is rather cumbersome as you can only upload 1 file at a time. Ipera suggests using FTP to transfer existing sites or use sitebuilder.

Document Actions