My Blog List

Showing posts with label www settings. Show all posts
Showing posts with label www settings. Show all posts

Saturday, August 30, 2008

How To Redirect Your-Domain.com to www.Your-Domain.com

In the context of the directories at the server, http://your-domain.com is the root folder. The www part in http://www.your-domain.com is a subdirectory or a subdomain which usually redirects to the root folder. The “www” prefix has no meaning in the way the main Web site is shown. The “www” prefix is simply one choice for a Web site’s host name. It is mostly used because a host name for the web-server is often ‘www’.

If you are using an Apache server to host your site, then the best way to redirect visitors from http://domain.com to http://www.domain.com is by using a .htaccess file.

Read more >