dns - how to redirect browser to two different site with apache virtualHost? -
i have valid ip, e.g. x.x.x.x, , domain, e.g. site.com point x.x.x.x.
first, need redirect request port 80 443 (security issue). second, every request sent ip, want apache show "hello it's working" (/var/www/index.html) , request domain show real site.
i tried this, did not work:
<virtualhost x.x.x.x:433> servername x.x.x.x serveralias x.x.x.x documentroot /var/www/ directoryindex index.html options -indexes </virtualhost> <virtualhost site.com:443> ... </virtualhost>
Comments
Post a Comment