Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

[How to] I got errors during site publication and I think that configuration of FTP host is incorrect. How to setup FTP host correctly?

Article ID: 1812 
Last Review: Jun,26 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Sitebuilder 3.x for Linux/Unix
  • Sitebuilder 4.x for Linux/Unix

Resolution

You may configure site's publishing settings through Parallels Plesk Sitebuilder control panel at Sites -> <site name> -> Publish Settings or through Sitebuilder Wizard on page "Publish".

"Publishing mode" is method how files are uploaded to publish host. It can be FTP, VPS, or XCOPY. For details please see article specifying_hosts_used_for_publishing_sites in Parallels Plesk Sitebuilder Administrator’s Guide. Find the link in Additional information part.

Here is example for FTP publishing mode:

"Host" is IP address or hostname where files are uploaded via FTP
"Port" is post for FTP connection
"Login" is FTP login for files uploading
"Password" is password for FTP login
"Working directory" is location under FTP user's root directory where files are uploaded
"Web site URL" is URL to access the site

For example:

"Publishing mode" FTP
"Host" 123.123.123.123
"Port" 21
"Login" ftp_login
"Password" ftp_password
"Working directory" /httpdocs
"Web site URL" http://domain.tld

To test FTP location is set correctly login to the FTP location upload a test file to the location via FTP using login credentials specified. Check that the file is available via  http://domain.tld/test.file.

Also check that domain.tld is resolved to single IP address 123.123.123.123:

~$ host domain.tld
domain.tld has address 123.123.123.123
~$

 If the domain name is resolved to several IP addresses this may cause non-permanent problems in verification of publishing location. Publishing may fail from time to time.

Also it is recommended to verify that publishing server is configured correctly. List of requirements to publishing host you can find on our website here: http://www.parallels.com/products/plesk/sitebuilder/reqs/

There is a special script which can help you to check if everything is fine with requirements: SITEBUILDER_ROOT/resources/publish/check.php. It should be run from publishing site's directory.
SITEBUILDER_ROOT - Sitebuilder installation directory /usr/local/sitebuilder/ or /opt/sitebuilder/ on Debian/Ubuntu servers.

For example, if you are trying to publish to domain domain.tld you need upload this script into site's directory and run it in browser as http://domain.tld/check.php.

As an example, you can find correct output below:

ioncube=ok phpVersion=4.4.3 mbstring=ok zlib=ok session=ok dom=ok domxml_xslt=ok sqlite=2.8.17 sqliteEncoding=UTF-8 gd_png=ok gd_gif=ok gd_jpg=ok gd_wbmp=ok gd=2.0.28 safe_mode=ok mail=ok serverApi=Apache  Handlerfolder_permissions_data=ok
 
NOTE:
 1. Publication works with safe_mode 'on' from version 4.0. So if you have version 4.0 or newer you do not need to worry about safe_mode=failed output.
 2. Parameter folder_permissions_data is actual for publishing to Windows servers, so if you see that folder_permissions_data=fail, you can ignore this output.

Additional information

http://download1.parallels.com/SiteBuilder/4.5.0/doc/admin/en_US/html/specifying_hosts_used_for_publishing_sites.htm
Keywords: publish requirement check.php


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products