Bước 1:
C:\xampp\apache\conf\extra\httpd-vhosts.conf
Bước 2:
Listen 1996
<VirtualHost *:1996>
DocumentRoot "C:/xampp/htdocs/giasu123"
ServerName localhost
</VirtualHost>
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
Listen 443
<VirtualHost *:443>
DocumentRoot "C:/xampp/htdocs/binhchonhangviet.com.vn"
ServerName binhchonhangviet.com.vn
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
</VirtualHost>