What is a site?
A site can be configured on your servers. Essentially, if your server is going to serve websites or apps, then creating a site on a server will handle those requests.
What types of sites can I add?
The following sites types can be added to your provisioned servers.
A Kotlin-based web-framework. You will need NodeJS installed on your server and JRE 11 if you want to only deploy Alpas web apps with Cleaver or JDK 11 if you want to both build and deploy Alpas web apps.
A PHP-based web-framework. You will need NodeJS installed on your server and your preferred version of PHP.
WordPress is a free and open-source content management system (CMS) written in PHP and paired with a MySQL or MariaDB database. You will need a database and your preferred version of PHP installed on your server to create your WordPress site.
A general-purpose scripting language. You will need your preferred version of PHP installed on your server to run your PHP apps.
Add a site
- Select the server you want the site to be installed on
- Select Sites
- Select Add a new site
- Select your desired site type
- Fill in the domain name or select the option to use a free, SSL enabled cleaver.app subdomain
- Depending on the site type you selected, you may have some additional selections to make
- Select whether or not you want to secure your site with SSL certificates - you can secure now or you can secure afterwards; if you secure after site creation, you have the additional option of applying a custom SSL certificate, such as one from Cloudflare for example
Note - Cleaver uses Let’s Encrypt - click here to review their rate limits
- Select Add to create new site
How do I point my domain to the server?
For your site to render, you will need to point your domain to the applicable web provider.
Follow these standard directions to point your domain to your provisioned server.
- Go to your domain registrar (such as GoDaddy, Network Solutions, Name Cheap, etc)
- Find your domain and point the DNS to your cloud provider; go to your cloud provider to find out what DNS servers to point your domain to (if your provider doesn’t make this readily available, google usually points you in the right direction fairly quickly)
- Go to your cloud provider
- Find the ‘domains’ or ‘sites’ section of your cloud provider
- Add your domain and point the a-record to your provisioned server’s public IP Address
Why doesn’t my site render?
If your site doesn’t render and if you recently updated your domain to point to your Cloud provider’s DNS, then your domain may not have completed propagating. To check the status, go to DNS Checker and type in your domain and check the status of your NS and A records. Normally, it just takes a little bit of time for your new DNS record to become globally available.
What if I forget to add an environment dependency before creating a site?
Cleaver has your back! If you forgot to install a dependency while adding a site, then Cleaver will detect which dependencies are required and will install the latest version for you so that you can keep moving forward with little fuss.