Virtual Host And Certbot in Raspbian 10
All Sites# chorke.{org,com}
mkdir -p /etc/chorke/httpd/conf.sites.all.d
cd /etc/chorke/httpd/conf.sites.all.d
nano 00-dev.chorke.org.conf
nano 00-dev.chorke.org-le-ssl.conf
nano 01-api.chorke.org.conf
nano 01-api.chorke.org-le-ssl.conf
nano 01-ihe.chorke.org.conf
nano 01-ihe.chorke.org-le-ssl.conf
nano 02-dev.chorke.com.conf
nano 02-dev.chorke.com-le-ssl.conf
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.all.d
cd /etc/shahed/httpd/conf.sites.all.d
nano 00-dev.shahed.biz.conf
nano 00-dev.shahed.biz-le-ssl.conf
|
Enabled Sites# chorke.{org,com}
mkdir -p /etc/chorke/httpd/conf.sites.enable.d
cd /etc/chorke/httpd/conf.sites.enable.d
ln -s ../conf.sites.all.d/00-dev.chorke.org.conf 00-dev.chorke.org.conf
ln -s ../conf.sites.all.d/00-dev.chorke.org-le-ssl.conf 00-dev.chorke.org-le-ssl.conf
ln -s ../conf.sites.all.d/01-api.chorke.org.conf 01-api.chorke.org.conf
ln -s ../conf.sites.all.d/01-api.chorke.org-le-ssl.conf 01-api.chorke.org-le-ssl.conf
ln -s ../conf.sites.all.d/01-ihe.chorke.org.conf 01-ihe.chorke.org.conf
ln -s ../conf.sites.all.d/01-ihe.chorke.org-le-ssl.conf 01-ihe.chorke.org-le-ssl.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com.conf 02-dev.chorke.com.conf
ln -s ../conf.sites.all.d/02-dev.chorke.com-le-ssl.conf 02-dev.chorke.com-le-ssl.conf
# shahed.{biz}
mkdir -p /etc/shahed/httpd/conf.sites.enable.d
cd /etc/shahed/httpd/conf.sites.enable.d
ln -s ../conf.sites.all.d/00-dev.shahed.biz.conf 00-dev.shahed.biz.conf
ln -s ../conf.sites.all.d/00-dev.shahed.biz-le-ssl.conf 00-dev.shahed.biz-le-ssl.conf
|