Changes between Version 7 and Version 8 of secureweb
- Timestamp:
- Nov 29, 2016, 8:24:04 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
secureweb
v7 v8 218 218 Do a nslookup for www.yourdomain.ws.learn.ac.lkand find the IP Addressof yourweb server and edit your pc host file and include following.(assume your IP is 192.248.X.X) 219 219 {{{ 220 192.248.X.X web1.yourdomain.ws.learn.ac.lk221 192.248.X.X web2.yourdomain.ws.learn.ac.lk220 192.248.X.X web1.yourdomain.ws.learn.ac.lk 221 192.248.X.X web2.yourdomain.ws.learn.ac.lk 222 222 }}} 223 223 '''Note''': … … 252 252 ServerAdmin admin@yourdomain.ws.learn.ac.lk 253 253 ServerName yourdomain.ws.learn.ac.lk 254 ServerAlias web2.yourdomain.ws.learn.ac.lkDocumentRoot /var/www/web2 254 ServerAlias web2.yourdomain.ws.learn.ac.lk 255 DocumentRoot /var/www/web2 255 256 <Directory /var/www/web2> 256 257 Require all granted … … 385 386 </Directory> 386 387 ErrorLog ${APACHE_LOG_DIR}/error.log 387 CustomLog ${APACHE_LOG_DIR}/access.log 388 combinedSSLEngine on388 CustomLog ${APACHE_LOG_DIR}/access.log combined 389 SSLEngine on 389 390 SSLCertificateFile /etc/ssl/certs/apache_crt.crt 390 391 SSLCertificateKeyFile /etc/ssl/private/apache_prv.key … … 401 402 {{{ 402 403 sudo a2enmod ssl 403 sudo a2ensite web1-ssl.conf404 sudo a2ensite web1-ssl.conf 404 405 }}} 405 406 Try browsing https://web1.yourdomain.ws.learn.ac.lk, you will be warned about the untrusted connection as it is a self-signed authentication.