Redirecting a URL

To redirect a URL e.g. http://jamesrobertson.eu to http://www.jamesrobertson.eu use the Redirect command within the VirtualHost file e.g.

<VirtualHost *:80>
  Redirect / http://www.jamesrobertson.eu/
  ServerName jamesrobertson.eu
</VirtualHost>

It was only just today when I was accessing my site from a remote computer that I discovered that the jamesrobertson.eu domain wasn't being redirected to the full domain name.

Resources

Tags:
Source:
2226hrs.txt
Published:
02-12-2015 22:26