Site.pro
  • AI Website Builder
    • Useful Links
    • AI Website Builder
    • Prices
    • Online Stores
    • Collaboration
    • Website Import
    • Plugins
    • Website Builder
    • Templates
    • For Design Studios
    • Affiliate Program
    • We Build for You
    • Examples
    • Languages
  • Domains
    • Popular Domain Zones
    • Register Domain Name
    • Migrate Domains
    • For Domain Investors
    • Domain Zones
    • Domainity
    • FAQ: Domains
    • .co
    • .com
    • .net
    • .org
    • .us
  • Email
  • Accounting Software
    • Use Cases
    • Accounting Software
    • Modules
    • Prices
    • Integrations, API
    • Accounting companies (368)
    • Software integrators (52)
    • Affiliate Partners
    • Useful Links
    • Business Types
    • Accounting companies
    • Sole Proprietor
    • Invoicing
    • Farmer
    • E-commerce
  • For Resellers
    • Prices
    • White Label
    • Revenue Share
    • Panels
    • How it Works
    • Marketing Materials
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • Knowledge Base
    • Tutorials
    • Blog
    • Growth Hacking
    • For Hostings
    • For Education
    • Accounting: Start of Work
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
  • AI Website Builder
    • AI Website BuilderAI creates websites for you
    • PricesAdvanced Features
    • Online StoresBuild online stores
    • CollaborationCo-create websites live
    • Website ImportImport Any Website
    • PluginsBuilder plugin and functions
    • Website BuilderKey Features
    • Templates200+ Awesome Templates
    • For Design StudiosBenefits for Design Studios
    • Useful Links
    • Affiliate Program
    • We Build for You
    • Examples
    • Languages
  • Domains
    • Register Domain NameDomain registration, parking, transfer
    • Migrate DomainsPark. Delegate. Transfer.
    • For Domain InvestorsDiscount on all domains
    • Domain ZonesBuy New Domain Name
    • DomainityDomain usage by country
    • FAQ: DomainsFind Answer
    • Popular Domain Zones
    • .co
    • .com
    • .net
    • .org
    • .us
  • Email
  • Accounting Software
    • Accounting SoftwareCloud based ERP
    • ModulesMain accounting software modules
    • Prices30 days free trial
    • Integrations, APIIntegration with external systems
    • Accounting companies (368)Choose your partner for accounting
    • Software integrators (52)Pick your integrations partner
    • Affiliate PartnersPartners and Affiliate program
    • Useful LinksCalculators and Calendars
    • Business TypesUse Cases
    • Use Cases
    • Accounting companies
    • Sole Proprietor
    • Invoicing
    • Farmer
    • E-commerce
  • For ResellersWhite Label
    • PricesRevenue Share. White Label
    • White LabelCustomise Builder
    • Revenue ShareEarn 50% from each upgrade
    • PanelsOne product for all platforms
    • How it WorksCloud or On-Premises
    • Marketing MaterialsVideo. Mockups. Blocks
    • Mass Import
    • Our Partners
    • Reselling Examples
    • Documentation
    • Free Websites
  • Learn
    • Knowledge BaseFAQ: Builder, Accounting
    • TutorialsDownload for free
    • BlogSite.pro Blog
    • Growth HackingBoost your sales
    • For HostingsTips on marketing
    • For EducationTraining. Tutorials
    • Accounting: Start of Work
    • Teaching Institutions (68)
    • Accounting Courses Worldwide
  • Register
    By registering, you accept our Terms of Service
  • Log in

    Log in

    New user? Create account
    Forgot password?
  • $
  • English
Server Requirements
  • Published websites
  • Site.pro IPs
Builder installation / update
On-Premises
  • Server Requirements
  • Installation
  • CRON
  • Update
  • Migration to version v4
  • Collaboration Service
  • Extra configuration
  • Manual update
  • Changing PHP version
  • Support
Plugin installation
  • Hosting Panel
    • cPanel
    • DirectAdmin
    • Plesk
    • Sentora/ZPanel
    • ISPmanager
    • InterWorx
    • Vesta
    • Hosting Controller
    • CentOS Web Panel
    • Hestia
    • LiveConfig
    • Webuzo
    • Custom hosting (API)
  • Billing Panel
    • WHMCS
    • Blesta
    • Upmind
    • Custom billing (API)
API documentation
  • Builder
    • Create session (SSO)
    • Remove existing session
    • Create website backup
    • Restore website backup
  • Templates
    • List template categories
    • List template category tags
    • List templates
    • Get page types available in templates
  • Import
    • Import website
    • Get website import status
    • Import website block
    • Get website block import status
    • Check if imported website is owned by user
  • Websites
    • Create website
    • Modify website
    • Rename website
    • Publish website
    • Edit website pages
    • Edit website settings
    • Delete website
    • Get website template
    • Get website pages
    • Get website variables
    • Get template variables
    • Get website settings
    • Add pages to website
    • Duplicate pages in website
    • Remove pages from website
  • Website Blocks
    • Create empty website
    • Modify website
    • Inspect website
    • Add empty page
    • Modify page
    • Remove page
    • Inspect page
    • Inspect composition
    • Modification descriptor structure by element type
    • Add blocks from compositions
    • Remove blocks
    • Move blocks
    • Modify blocks
    • Inspect block
  • Licenses
    • Get list of published websites
    • Get statistics of publications/openings
    • Block/unblock published website
    • Controlling IP list
    • Read/add/delete hosting plans
  • Integration with your system
    • Allow/disallow domain in builder
    • Check if domains are allowed in builder
  • FAQ
    • Get posts
    • Get categories
Add-ons documentation
  • For Website
    • Public demo URL
    • Editing plans
    • User registration from public demo
    • Website import
    • Generate with AI
  • For Builder
    • Adding custom templates
    • Adding custom builder plugins
    • Scripts
For developers
  • Programming reference
  • Directory structure
  • Meta information (main.json)
  • Frontend logic (main.js)
  • Element template (main.html)
  • Backend logic (main.php)
  • Plugin testing
  • Custom element plugin
  • E-commerce plugin
  • Overriding UI
  • Other examples
Change Log
Server Requirements

Published websites

Reference:

  • Requirements for published websites
  • Nginx
  • Troubleshooting

Requirements for published websites Cloud On-Premises

  • Apache 2.2 (or newer) / LiteSpeed / Nginx / Microsoft IIS
    Required Apache modules: rewrite, headers
  • PHP 5.6 (or newer)
    Required extensions: json, curl, mbstring, iconv, openssl
    Required functions: ini_set
  • MySQL not needed
  • ionCube Loader not needed
  • Hardware: any
  • Operating system (OS): any

Nginx if used instead of Apache

Configuration for published websites: Cloud On-Premises

If you want to use NGINX Web Server instead of Apache for published websites you need to configure separate virtual host (server configuration) for every website you will publish to. Ex. if web-sites you want to publish to domain is some.site.domain and it's document root is at /home/site/public_html you could set server configuration to something like this:

listen       80;
server_name  some.site.domain;

charset utf-8;
root /home/site/public_html;

index  index.php;

location ~ /(\.ht|error_log|php_errors\.log)|^/sitepro/(vendor/|src/) {
	deny  all;
}

location ~ \.php$ {
	fastcgi_pass   127.0.0.1:9000;
	fastcgi_index  index.php;
	fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
	include        fastcgi_params;
}

location / {
	try_files /sitepro$uri /sitepro$uri/ /sitepro/index.php?$args;
}
Show configuration example for Plesk

Plesk configuration example:

  • create file on Plesk server /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php
  • copy contents of default file /usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php to file you created
  • add the following content at the end of the file before the last closing "}" symbol:
    <?php if (!$VAR->domain->physicalHosting->proxySettings['nginxProxyMode'] && is_dir($VAR->domain->physicalHosting->httpDir.'/sitepro')): ?>
    location ~ /(\.ht|error_log|php_errors\.log)|^/sitepro/(vendor/|src/) {
            deny  all;
    }
    location ~ ^/ {
            index index.php index.html;
            try_files /sitepro$uri /sitepro$uri/ /sitepro/index.php?$args;
    }
    <?php endif; ?>

This template will add Site.pro required rules to all clients' sites nginx configuration if the site was published with Site.pro builder.
You can read more about Plesk template files here:
https://docs.plesk.com/en-US/onyx/advanced-administration-guide-linux/virtual-hosts-configuration/changing-virtual-hosts-settings-using-configuration-templates.68693/.

© Site.pro 2011. Website Builder. United States.
Contact SalesTerms of ServicePrivacy Policy