Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder lokeshshettyk's Avatar
    Join Date
    Aug 2008
    Location
    On the way to the moon!
    Posts
    157
    Thanks
    5
    Thanked 20 Times in 20 Posts

    htaccess - using www and non-www together

    Hi,
    I have a site (http://sub.domain.com/) that's working fine. Now what I am trying to achieve is that http://www.sub.domain.com/ should also work. So irrespective of whether user types in http://sub.domain.com/ OR http://www.sub.domain.com/, both should work. Please help

    Cheers

  • #2
    Regular Coder lokeshshettyk's Avatar
    Join Date
    Aug 2008
    Location
    On the way to the moon!
    Posts
    157
    Thanks
    5
    Thanked 20 Times in 20 Posts
    I thank all of you (30 viewers) for taking time to view this post. I figured it myself.

    Cheers

  • #3
    Regular Coder
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    118
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Well, this isn't really the most active forum and I shall admit that I have browsed this topic several times before But could you please be so friendly and post your solution so the later generations can go to this topic if they encounter the same problem?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •