Installing SitePad in DirectAdmin

From SitePad Wiki
Jump to: navigation, search

Overview

The following guide will show you how to install SitePad on DirectAdmin.

Requirements

  • A server with Direct Admin.
  • If you have a firewall, then please allow access to all packages from *.sitepad.com and *.softaculous.com

Note : Please allow access to the following domains to your firewall as these are the servers through which your website will be published.

  • us.sitepad.com (IP: 192.198.80.4)
  • eu.sitepad.com (IP: 91.121.54.72)

Installing SitePad

SSH to your server and execute the following commands:

wget -N http://files.sitepad.com/install.sh
chmod 755 install.sh
./install.sh

The Installer will start showing the Installation Processes and when done will indicate the same.

Choose Editor Server

Note : This parameter is optional you you can skip this parameter to let SitePad choose the default server.

You can choose the region in which you want the editor for SitePad. To choose an editor server please pass the following parameter to the installer : --editor_url=https://us.sitepad.com

List of valid servers is available here : SitePad Servers

./install.sh --editor_url=https://us.sitepad.com

You can change this setting later from SitePad Admin panel -> Settings page

Re-branding

Note : This parameter is optional you you can skip this parameter to let SitePad use default values.

If you would like to re-brand SitePad you can pass the following parameters to the installer :
--brand_name=YOUR_BRAND (Only Alphanumeric characters without space are allowed)
--brand_logo=https://URL.TO.YOUR.LOGO.png (Only PNG image allowed. Dimensions : 100pxX100px)
--brand_url=https://BRAND.COM

So the install command will look like :

./install.sh --brand_name=YOUR_BRAND --brand_logo=https://URL.TO.YOUR.LOGO.png --brand_url=https://BRAND.COM 

You can change this setting later from SitePad Admin panel -> Settings page

Access SitePad

Now login to your Directadmin server and click on SitePad Website Builder link. The following screen will appear if the SitePad is installed successfully.

Install1.png

Thats it the installation of SitePad is completed!

Ioncube Loaders

The Ioncube loaders will be enabled by SitePad itself for CentOS but if you are using any other OS then please follow these two steps to enable Ioncube:

  • Download the required Ioncube file and rename the file to ioncube.so
  • Place the file in the following directory
/usr/local/directadmin/plugins/sitepad/ioncube.so

Troubleshoot

Some troubleshooting tips :

Unable to execute your request

If you get the error Unable to execute your request please execute the following command :

root> chmod -R 0755 /usr/local/directadmin/plugins/sitepad