The extension of rcm
.
Assume your domain is example.com
and hostname is server1
, this extension will doing this for you:
- Create Website ISPConfig at https://cp.example.com
- Create Website PHPMyAdmin at https://db.example.com
- Create Website Roundcube at https://mail.example.com
- Create mailbox admin@example.com
- Create mailbox support@example.com
- Create mail alias webmaster@example.com destination to admin@example.com
- Create mail alias hostmaster@example.com destination to admin@example.com
- Create mail alias postmaster@example.com destination to admin@example.com
- Additional identities of admin@example.com for three aliases above.
- Roundcube and ISPConfig integration.
Login as root.
su -
If you start from empty virtual machine instance, it is recommend to upgrade then restart machine to avoid interruption because of kernel update.
apt update -y
apt upgrade -y
init 6
Make sure wget
command is exist.
apt install -y wget
Download rcm
from Github.
wget git.io/rcm
chmod a+x rcm
You can put rcm
file anywhere in $PATH
:
mv rcm -t /usr/local/bin
Always fast.
alias rcm='rcm --fast'
Install ispconfig
extension.
rcm install ispconfig
Enter value for --url
option:
https://github.com/ijortengab/ispconfig-autoinstaller
Skip value for --path
option. We use the default value.
Feels free to execute ispconfig
command. You will be prompt to some required value.
rcm ispconfig
You have to add DNS records manually (except DigitalOcean VPS):
- A Record of
example.com
point to your VPS IP Address - A Record of
server1.example.com
point to your VPS IP Address - CNAME Record of
cp.example.com
alias toexample.com
- CNAME Record of
db.example.com
alias toexample.com
- CNAME Record of
mail.example.com
alias toexample.com
- MX Record of
example.com
handled byserver1.example.com
If you use VPS from DigitalOcean and use DigitalOcean DNS, there some additional action automatically:
- Create DNS record: A example.com
- Create DNS record: A server1.example.com
- Create DNS record: CNAME cp.example.com
- Create DNS record: CNAME db.example.com
- Create DNS record: CNAME mail.example.com
- Create DNS record: MX example.com to server1.example.com
- Create DNS record: TXT DKIM for example.com
- Create DNS record: TXT DMARC for example.com
- Create DNS record: TXT SPF for example.com
Prerequisite action:
- Buy domain name from your favourite registrar, then point Name Server to ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com.
- Buy server (VPS) in DigitalOcean and select OS:
Debian 12
/Ubuntu 22.04
. ATTENTION: give name your droplet as FQDN, example: server1.example.com for correct PTR record. - Generate token API in DigitalOcean Control Panel.
Assume your next domain is example.org
, this extension will doing this for you:
- Create Website ISPConfig at https://cp.example.org
- Create Website PHPMyAdmin at https://db.example.org
- Create Website Roundcube at https://mail.example.org
- Create mailbox admin@example.org
- Create mailbox support@example.org
- Create mail alias webmaster@example.org destination to admin@example.org
- Create mail alias hostmaster@example.org destination to admin@example.org
- Create mail alias postmaster@example.org destination to admin@example.org
- Additional identities of admin@example.org for three aliases above.
- Roundcube and ISPConfig integration.
You have to add DNS records manually (except DigitalOcean VPS):
- A Record of
example.org
point to your VPS IP Address - CNAME Record of
cp.example.org
alias toexample.org
- CNAME Record of
db.example.org
alias toexample.org
- CNAME Record of
mail.example.org
alias toexample.org
Attention for MX Record, pointing MX record to your primary server.
- MX Record of
example.org
handled byserver1.example.com