Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM/cPanel/Server crashes with .htaccess rewrite rule

Discussion in 'General Discussion' started by pauleycreative, Aug 10, 2011.

  1. pauleycreative

    pauleycreative Registered

    Aug 10, 2011
    Likes Received:
    Trophy Points:
    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} !^$
    RewriteRule (.*)$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.


Share This Page