Edit the httpd.conf and add the following lines inside the virtual host entry of yourdomain.com #vim /usr/local/apache/conf/httpd.conf <VirtualHost yourdomain.com:80> ServerAdmin…
Dependencies Installation yum install openssl-devel -y Uncomment the httpd-ssl.conf Include line in the /usr/local/apache/conf/httpd.conf file. vim /usr/local/apache/conf/httpd.conf Include conf/extra/httpd-ssl.conf Changing…
Editing the directory tag of /usr/local/apache/htdocs by # vim /usr/local/apache/conf/httpd.conf <Directory “/usr/local/apache//htdocs”> Options Indexes Includes FollowSymlinks Multiviews AllowOverride AuthConfig Order…
Dependencies installation #yum install gcc gcc-c++ #C compiler #yum install pcre-devel #yum install openssl-devel #if you need ssl website #yum…