No awards yet.


1 Posts
  • Published Question

    How to redirect https://ip to https://domain

    The following lines are in the .htaccess I wrote. <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^ RewriteRule (.*)$1 [R=301,L] </IfModule> It redirects ...
    Accepted Answer: Hello, Do you have a VirtualHost entry matching the IP address with https and not http? If there is an entry for the IP address with https this will be the reason. Create a VirtualHost entry matching 40....
    3 By treeant Apache Server Optimization Ubuntu 18.04