How to Create Virtual Hosts in Apache

preview_player
Показать описание
Twitter: @webpwnized

How to create virtual hosts in Apache 2 web server

The webpwnized YouTube channel is dedicated to information security, security testing and ethical hacking. There is an emphasis on web application security but many other topics are covers. Some of these include forensics, network security, security testing tools and security testing processes. The channel provides videos to encourage software developers and system administrators to perform security testing. Also, the channel educates the next generation of security testers and bug bounty hunters who want to respectfully, legally and ethically help system owners that allow security testing.
Рекомендации по теме
Комментарии
Автор

Here's the file - you're welcome :)



<VirtualHost 127.0.0.1:80>
ServerName mutillidae.local
ServerAlias mutillidae
DocumentRoot /var/www/html/mutillidae

ErrorLog
CustomLog combined
</VirtualHost>

<VirtualHost 127.0.0.1:443>
DocumentRoot /var/www/html/mutillidae
ServerAlias mutillidae
ServerName mutillidae.local

ErrorLog
CustomLog combined

SSLEngine On
SSLOptions +StrictRequire
SSLCertificateFile /etc/ssl/certs/mutillidae.crt
SSLCertificateKeyFile
SSLProtocol TLSv1
</VirtualHost>

richardhill
Автор

I am trying to edit the file but its showing me that this is read only file.... I tried to change it using chmod.. But that too isn't working... Can you help me out here please?

nisarggogate