▒▓█ Debian

HOW TO CONFIGURE MULTI SUB-DOMAN WEBSERVER IN DEBIAN LINUX

HOW TO CONFIGURE MULTI SUB-DOMAN WEBSERVER IN DEBIAN LINUX

Firsts things first, for better file handling install [Midnight Commander] : sudo apt-get install mc Download fresh version of webserver software: sudo apt-get install apache2 Locate and edit configuration file: /etc/apache2/apache2.conf Note that in some distributions it can named as httpd.conf. No file at all? You can create it by: touch apache2.conf For relatively easy editing i recommend Nano editor. sudo apt-get install nano CTRL+O ► to save file CTRL+X ► exit file Here is an example for locally placed development webserver, containing two sub-domains.
HOW TO IMPORT CUSTOM CERTIFICATE TO CERTIFICATE STORAGE IN DEBIAN LINUX

HOW TO IMPORT CUSTOM CERTIFICATE TO CERTIFICATE STORAGE IN DEBIAN LINUX

Say you are trying to install software and receive message from the operating system about untrusted certificate in certificate chain. In such case you need to import certificate of the middle-man organization into the Linux certificate storage to make things happen. If for some reason your third-party certificate comes in DER binary format, you should convert it to CRT format: openssl x509 -inform DER -in certificate.der -out certificate.crt Copy to storage:

▀ BACK TO HOME PAGE ▀