مدیریان سرور ها ممکن است با مشکلی مواجه باشند که سایتهای سرور که با https باز میکنند، روی سایت دیگری ریدایرکت می شود
/usr/local/apache/conf/httpd.conf
تغییرات زیر اعمال شود
add check doamin whit port 443
change 443 >>80
To allow visitors to visit an unsecured domain regardless of which type of protocol they enter, perform the following steps in WHM’s Include Editor interface (WHM Home >> Service Configuration >> Apache Configuration >> Include Editor):
- Select the Pre Virtual Host Include option.
- Select the Apache version from the menu. We recommend that you select All Versions.
- Enter the following text in the available text box:
<VirtualHost IPADDRESS:443> ServerName HOSTNAME DocumentRoot /usr/local/apache/htdocs ServerAdmin EMAIL <IfModule mod_suphp.c> suPHP_UserGroup nobody nobody </IfModule> SSLEngine on SSLCertificateFile SSLCERTIFICATEFILE SSLCertificateKeyFile YOUR-SSLCERTIFICATEKEYFILE </VirtualHost>
- Click Proceed
- Click Update.