WHM/cPanel/Server crashes with .htaccess rewrite rule

pauleycreative

Registered
Aug 10, 2011
1
0
51
Hi there, i hope someone out there can help me.

I have a website with 3 domains parked on top of it. I have the following rules set up in my .htaccess file:

RewriteCond %{HTTP_HOST} !^www.domain.co.uk$
RewriteRule (.*) http://www.domain.co.uk/$1 [R=301]

As soon as i enter the address of one of the parked domains the whole server crashes and every site goes down. As soon as these rules are commented out, server rebooted then the website is fine but now when i go to one of the parked domains the parked domain's address appears in the address bar which is bad for SEO, hence the rewrite rules I am trying to apply.

I have no clue whatsoever as to why this rule would be taking down the server. Does anyone have any suggestion? Many thanks in advanced.

Duncan