How do I auto-redirect my domain to www?

To redirect your domain from to, add the following code to your .htaccess file:

RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule ^(.?)$$1 [R=301,L]

Was this answer helpful?

Also Read
Why do I get "Internal Server Error"?

When you are browsing a .html (or .php) file in your account, you may sometimes see an error page...

Do you offer any money back guarantee?

Yes, we do.Click here to see our refund / cancellation policy.

How do I work with suPHP and .htaccess files?

Some configuration lines won't work with suPHP - at least, not within the .htaccess file. In...

How can I enable register_globals for my account?

'register_globals' is a PHP Directive. This is no longer being used in the newer version of PHP...

Can I run an YouTube clone on your server?

Yes, you can certainly run YouTube clone softwares on our server. All our servers have...