
Automate your Apache + Certbot VirtualHost configuration with a single command. Deploy secure websites with SSL certificates in seconds, not hours.

Run this single command to install and use the script
sudo curl -fsSL https://app.konkmeng.site/assets/bash/setup-site.sh -o /usr/local/bin/setup-site sudo chmod +x /usr/local/bin/setup-siteThis command downloads and executes the setup script directly. Make sure you have sudo privileges.
wget https://app.konkmeng.site/assets/bash/setup-site.sh
chmod +x setup-site.sh
sudo mv setup-site.sh /usr/local/bin/setup-siteSimple command-line interface for setting up Apache VirtualHosts with automatic SSL certificates
Setup a single domain:
sudo setup-site konkmeng.site /var/www/html/konkmeng/publicThis command creates an Apache VirtualHost for your domain, configures the document root, and automatically obtains an SSL certificate from Let's Encrypt using Certbot.
Setup with www and admin subdomains:
sudo setup-site konkmeng.site /var/www/html/konkmeng/public -aThe -a or --admin flag automatically configures www.domain.com and admin.domain.com with SSL certificates.
sudo setup-site <domain.com> <project/path> [options]Your domain name (e.g., example.com)
Absolute path to your website's public directory
Optional: Also setup www.domain.com and admin.domain.com
Everything you need to deploy production-ready websites quickly and securely
Deploy your website in seconds with automated configuration. No manual Apache config editing required.
Automatic SSL certificate generation and installation using Let's Encrypt and Certbot.
Intuitive command-line interface with clear options. No complex configuration files to manage.
Support for multiple domains and subdomains with a single command using the --admin flag.
Linux Server
Ubuntu, Debian, or similar distributions
Apache Web Server
Apache2 must be installed and running
Certbot
For automatic SSL certificate generation (python3-certbot-apache)
Root Access
Sudo privileges required for system configuration
Domain DNS
Domain must be pointed to your server's IP address
Download the setup-site script and start deploying secure websites in seconds. Free and open source.
Free to use. Open source. No registration required.