Apache Redirect, the admin way

I needed to redirect the root of my Webserver. The first (and easiest) way I found was to add this to my default virtual host:

Redirect / http://www.new-domain.com/

For me, that file was located in /etc/apache2/sites-available/default.

Leave a Reply

Your email address will not be published.