Changing my site's domain - need to set up an Apache virtual host for 301 redirects

view full story

http://www.linuxquestions.org – I'm using a dynamic DNS service, and I want to switch from a free domain name to my own domain name. I'm not that experianced at working with Apache, so I'd appreciate it if I could get a sanity check. I'm currently using a single server connected to my home router. I'm running a Debian based Linux called Raspbian, and I'm using Apache2 with a home made CMS. My site is currently at http://myraspberrypi.no-ip.biz. I plan to create two virtual host files in /etc/apaches/sites-available like this: /etc/apache2/sites-available/mynewdomain.com Code: <VirtualHost *:80>   &nbsp (HowTos)