Article ID: 126550, created on Aug 14, 2015, last review on Aug 31, 2016

  • Applies to:
  • Web Presence Builder 11.5
  • Web Presence Builder 12.0


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:
The publication URL: http://publication-url 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:

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

Search Words

Error: Error in CURL request: Couldn't resolve host 'https:'

The site cannot be published to the specified location. Cannot connect to the host via ftp or do not have permissions for writing

Error: Error in CURL request: Couldn't resolve host 'https:'"

1c99f07514acb28df1f1cbc138d5c135 56797cefb1efc9130f7c48a7d1db0f0c 9305481d3bd31663b68451e3bfdec5a5 e25c735791afe5339193a6713dc869da 18f5eb2d7a7972323627b40f015d5a19

Email subscription for changes to this article
Save as PDF