To redirect your domain from http://mydomain.com to http://www.mydomain.com, add the following code to your .htaccess file:
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule ^(.?)$ http://www.mydomain.com/$1 [R=301,L]
Most Popular Articles
Can I switch between PHP-4 and PHP-5?
Yes, you can easily switch between PHP-4 & PHP-5 anytime you wish. To see how, see the...
What's the Hostname & Port for MySQL?
When configuring any of your scripts on the server, use the following connection info to...
Do you support GD & ImageMagick?
Yes, we do support GD & ImageMagick modules.The module-binaries are located in under this...
Do you have Linux or Windows servers?
All servers at GigaPros run on CentOS Linux. All servers use high performance Intel(R) Xeon(R) 24...
How do I create an Addon Domain?
An Addon Domain is similar to a subdomain and created in much the same way. An Addon Domain has...