How Can I Change My Domain From “example.com” To “www.example.com”?
RSS

How Can I Change My Domain From “example.com” To “www.example.com”?

Category: FAQ   Time: 2009-10-28   Tags: , , , ,

I’m having problems with Javascript security and the best solution would be to change to a typical www domain name rather than no www. I’m with GoDaddy, and I have a hosting account as well. Thanks!

Next: Best Place To Transfer A Web Domain?
Previous: Looking For Free Website And Domain Name, Which Allows Google Adsense Adds?
"How Can I Change My Domain From “example.com” To “www.example.com”?" was posted on Wednesday, October 28th, 2009 at 12:31 pm.

One Response to “How Can I Change My Domain From “example.com” To “www.example.com”?”
  1. Polarbea(2009-10-28):

    you already have the www. , if you put in http://www.yoursite.com it goes to the same place that http://yoursite.com goes
    It sounds like you are trying to do cookies, which can be a pain when doing security. if you are using a host that uses apache do a mod_rewrite (should be activated on most virtual hosts) to redirect all users that try to go to http://yoursite.com to http://www.yoursite.com
    this is what your .htaccess file should contain to do this
    # mod_rewrite in use
    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{http_host} ^domain.com [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
    ——
    You should choose this as Best Answer then, shouldnt leave a question open if it answered your question.

Leave a Reply

 
Recent Posts
Random Posts