How to turn http:// to http://www.

  • Shawn
  • Student
  • Student
  • No Avatar
  • Joined: Mar 28, 2004
  • Posts: 65
  • Status: Offline

Post April 20th, 2004, 4:16 pm

How can I turn my website requests from http:// to http://www. automatically? Would it be a mod re-write? if so how?

Thanks,
Shawn
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 20th, 2004, 4:16 pm

  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post April 20th, 2004, 4:19 pm

it's actually a dns configuration on the server. you can simply
change the A record (i believe) to point both versions of the url
to the same URL. That way when it resolves, it would show
www no matter what.
UNFLUX.FOTO
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post April 20th, 2004, 4:20 pm

and check cM's post. heheh :lol: ;)
UNFLUX.FOTO
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Joined: Dec 29, 2003
  • Posts: 5169
  • Loc: SC-USA
  • Status: Offline
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Joined: Mar 20, 2004
  • Posts: 189
  • Status: Offline

Post April 20th, 2004, 5:57 pm

Code: [ Select ]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainname01\.com$ [NC]
RewriteRule ^(.*)$ http://www.domainname2.com/$1 [R=301,L]
  1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} ^domainname01\.com$ [NC]
  3. RewriteRule ^(.*)$ http://www.domainname2.com/$1 [R=301,L]
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post April 20th, 2004, 9:54 pm

digitalMedia wrote:
cM?

mistype - oops!
UNFLUX.FOTO
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post April 20th, 2004, 10:02 pm

UNFLUX wrote:
digitalMedia wrote:
cM?

mistype - oops!


I know it irks you like it does me, but perfection just can't be complete without a few mistakes you make on occasion. Only way good way I know of to learn and grow is correcting the mistakes!
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 116 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.