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
Where can I see your SiteBuilder Demo?

Click on the link below to launch GigaPros SiteBuilder Demo. Feel free to explore our...

Can I run an YouTube clone on your server?

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

What if I exceed bandwidth limit of my hosting account?

If you exceed the bandwidth limit for your web hosting account, your account will be suspended...

How do I upload files to my server using WinSCP?

Follow the steps shown below to upload files to your server:1) Download and install WinSCP tool...

What is the path to sendmail?

The sendmail path is /usr/sbin/sendmail