Add VirtualHost for Port 443 and Redirect Traffic from Port 80 to 443
As part of the XDMod installation, we need to add a virtual host for port 443 to the Apache configuration file and redirect all traffic from port 80 to 443. This will ensure that all requests are served securely over HTTPS.
Steps to be taken:
Add a virtual host for port 443 to the XDMod Apache configuration file (/etc/httpd/conf.d/xdmod.conf) with the configuration code