Web Presence Builder for cPanel Unable to publish a site: The site cannot be published to the specified location


2016-11-16 12:40:22 UTC


2017-08-16 18:27:41 UTC


Was this article helpful?

Have more questions?

Submit a request

Web Presence Builder for cPanel Unable to publish a site: The site cannot be published to the specified location

Applicable to:

  • Web Presence Builder for Linux
  • Web Presence Builder for Windows


The following error appears when trying to publish a site with Web Presence Builder:

The site cannot be published to the specified location.
Internal server error has occurred on the remote server. Please contact the server administrator.

Also, following error appears in /usr/local/sb/tmp/sitebuilder.log :

The site UUID: c5b714fd-fc63-6ec8-954d-6a5dfeab96e0
The publication target: ftp://ftpuser@publication-url.com/public_html
The publication URL: http://publication-url http://fourth.my-web-builder.com/Editor Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
2014-08-23T14:44:14-05:00 [ERR] /JsonApi/ Internal server error has been occurred at the remote server.

Main check script address: http://publication-url.com:80/4599374feb05cf5a4ad26fc38bc6e1a3.php

Request to main check script result: <pre>object(Zend_Http_Response)#2771 (5) {
["version":protected] => string(3) "1.1"
["code":protected] => int(500)
["message":protected] => string(21) "Internal Server Error"
["headers":protected] => array(5) {
["Date"] => string(29) "Sat, 23 Aug 2014 19:44:14 GMT"
["Server"] => string(73) "Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4"
["Connection"] => string(5) "close"
["Transfer-encoding"] => string(7) "chunked"
["Content-type"] => string(9) "text/html"
["body":protected] => string(254) "f3
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>Directory "/home/ftpuser/public_html" is writeable by group</p>
<hr/> <address>suPHP 0.7.1</address>


Incorrect permissions on the publication folder.


  1. Check permission on the publication folder. Correct permissions should look like:

    root@server [~]# stat /home/ftpuser/public_html/
    File: `/home/ftpuser/public_html/'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: dfh/223d Inode: 13017730 Links: 16
    Access: (0755/drwxr-xr-x) Uid: ( 504/ftpuser) Gid: ( 504/ftpuser)
    Access: 2014-08-24 04:17:50.159125257 -0500
    Modify: 2014-08-24 04:17:45.592324499 -0500
    Change: 2014-08-24 04:17:45.592324499 -0500
  2. Change it with following command:

    root@server [~]# chmod 755 /home/ftpuser/public_html/
  3. If all permissions are correct check umask for ftp server configuration file, here is an example for PureFTP:

    # grep 'Umask' /etc/pure-ftpd.conf
    Umask 000:000

    Umask of 000 will make newly created files, directories readable, writable and discernible for everyone (the permissions will be 777), but according to CPanel security restrictions this type of file will not be executed, therefore 'Internal Server Error' occurs.

  4. Consider to change it to 022:022:

    # grep 'Umask' /etc/pure-ftpd.conf
    Umask 022:0222
Have more questions? Submit a request
Please sign in to leave a comment.