I'm wondering since I found out that creating a CNAME and an MX record is not allowed.
I want to create a 301 redirect from
www.example.com, and have email with
I'm using 1&1 as my registrar, btw.
To do 301 redirects, you'll need to have an A record that points to a valid web server. You can then instruct the web server to redirect people, eg. with Apache's .htaccess:
Redirect 301 / http://www.example.com
MX records can be created as usual.