www.fromthevalley.com.au

Redirect to one domain for a webste

Get Apache to listen to a number of alias under one virtual host, then add in the redirect down below and your done!

        RewriteEngine on
        RewriteCond %{HTTP_HOST}   !^www\.example\.com\.au [NC]
        RewriteCond %{HTTP_HOST}   !^$
        RewriteRule ^/(.*)$ http://www.example.com.au/$1 [L,R]

 

 

 

HOMEAJAXAPACHEBizphoneCSSDNSGeneralGraphicsHTMLHardwareJavascriptLinuxMACMS SQLMailMicrosoftOFFICE 365PerlPostgresSEOSocial MediaVMwareWindows 10