Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 11 of 11
  1. #1
    Platinum Lifetime Member

    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    95
    DNF$
    486
    Bank
    0
    Total DNF$
    486
    Donate  

    simple .htaccess question 400 DNF$

    I was hoping someone could help me with a simple .htaccess question.
    I am trying to use a 301 redirect to move all subdomains on a domain to another domian.
    Also, if there is a trailing directory, or filename I need to carry that over too.

    So I need to move *.original.com\randomdirectory\randomfile.php to
    *.new.com\randomdirectory\randomfile.php

    I have it working by kind of hacking it out, looking at examples; but was hoping to find "the correct" way to do this, from someone who really knows it.

    I have 400$ dnf for the first person who can help.

    Thank you!
    Trev
    -------------------------------------------------------
    Trev

  2. #2
    Platinum Lifetime Member
    77678's Avatar
    Join Date
    Jun 2006
    Location
    china
    Posts
    179
    DNF$
    737
    Bank
    0
    Total DNF$
    737
    Donate  

    Re: simple .htaccess question 400 DNF$

    my .htaccess http://amen.mobi/htaccess.tar.gz

    download pls try it
    Only 1 link allowed in signature.

  3. #3
    Platinum Lifetime Member

    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    95
    DNF$
    486
    Bank
    0
    Total DNF$
    486
    Donate  

    Re: simple .htaccess question 400 DNF$

    I don't think that's gonna work.
    It appears to be the .htaccess from lighttpd.
    Did you upload the correct file?

    Thanks,
    Trev
    -------------------------------------------------------
    Trev

  4. #4
    CrossLogix.com
    copper's Avatar
    Join Date
    Mar 2006
    Location
    Matthews, NC. U
    Posts
    2,560
    DNF$
    3,876
    Bank
    0
    Total DNF$
    3,876
    Donate  

    Re: simple .htaccess question 400 DNF$

    try...

    ====
    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^YourOldDomain.com [nc]
    rewriterule ^(.*)$ http://www.YourNewDomain.com/$1 [r=301,nc,L]
    rewritecond %{http_host} ^www.YourOldDomain.com [nc]
    rewriterule ^(.*)$ http://www.YourNewDomain.com/$1 [r=301,nc,L]
    ===========

  5. #5
    Platinum Lifetime Member

    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    95
    DNF$
    486
    Bank
    0
    Total DNF$
    486
    Donate  

    Re: simple .htaccess question 400 DNF$

    Well, that worked for www.domain.com and just domain.com, but it doesn't set other subdomains.. and there are a lot of them, so setting them manually would kinda be a pain in the butt.
    Thanks,
    TGrev
    -------------------------------------------------------
    Trev

  6. #6
    Bloody Hell
    Acro's Avatar
    Join Date
    Feb 2004
    Location
    USA
    Posts
    28,665
    Country

    Holy See
    DNF$
    15,555
    Bank
    0
    Total DNF$
    15,555
    Donate  

    Re: simple .htaccess question 400 DNF$

    So you have subdomain.domain1.com and you need to forward to subdomain.domain2.com ?

    DomainGang.com - Digital Entertainment for Domainers
    Acroplex - Web & Graphics
    Acro.net - My Blog

  7. #7
    CrossLogix.com
    copper's Avatar
    Join Date
    Mar 2006
    Location
    Matthews, NC. U
    Posts
    2,560
    DNF$
    3,876
    Bank
    0
    Total DNF$
    3,876
    Donate  

    Re: simple .htaccess question 400 DNF$

    If you are using the same paths and filenames, put this on your old site.

    redirect 301 / http://www.your-new-domain.com/

  8. #8
    Platinum Lifetime Member

    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    95
    DNF$
    486
    Bank
    0
    Total DNF$
    486
    Donate  

    Re: simple .htaccess question 400 DNF$

    Quote Originally Posted by Acroplex View Post
    So you have subdomain.domain1.com and you need to forward to subdomain.domain2.com ?
    Yes, but I need to do it for a bunch of different subdomains as they both have a wildcard DNS entry set.
    -------------------------------------------------------
    Trev

  9. #9
    Internet Entrepreneur
    David G's Avatar
    Join Date
    Apr 2002
    Location
    Sonoran Desert
    Posts
    6,002
    Blog Entries
    144
    Country

    United States
    DNF$
    3,462
    Bank
    0
    Total DNF$
    3,462
    Donate  

    Re: simple .htaccess question 400 DNF$

    Right, none of the replies here are correct. This is an almost impossible to get reply. I spent 5 yrs and probably hundreds of hrs time looking for the right answer and making lots of posts at many forums including webmaster boards. The knowledge is easily worth hundreds of times the insignificant 400dnf$ you are paying.

  10. #10
    Exclusive Lifetime Member
    Raider's Avatar
    Join Date
    Aug 2006
    Location
    California, USA
    Posts
    7,548
    Country

    United States
    DNF$
    883
    Bank
    0
    Total DNF$
    883
    Donate  

    Re: simple .htaccess question 400 DNF$

    I would think the Hosting service he is at could assist him, even it cost some $$


    Please vote Republican in 2012, America can not sustain another 4 years
    of Liberal policies that are fiscally and socially destroying the country.
    .

  11. #11
    Platinum Lifetime Member

    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    95
    DNF$
    486
    Bank
    0
    Total DNF$
    486
    Donate  

    Re: simple .htaccess question 400 DNF$

    Quote Originally Posted by trader View Post
    Right, none of the replies here are correct. This is an almost impossible to get reply. I spent 5 yrs and probably hundreds of hrs time looking for the right answer and making lots of posts at many forums including webmaster boards. The knowledge is easily worth hundreds of times the insignificant 400dnf$ you are paying.
    So you are saying this is not as easy a thing to do as I thought it would be.
    I was under the impression it was just a matter of putting the $1 in the right place, but it sounds as if it's not that simple.

    So, on that note, I will take a break from trying to do this.
    Thank you to everyone who replied. I appreciate people taking the time out of their schedules to offer up some help.
    I tried to split up the 400$ between everyone who offered me a reply, but I did the math for 6 people instead of 5; so you all got 67$DNF.

    Regards,
    Trevor
    Last edited by trevorhoare; 04-15-2007 at 06:55 PM.
    -------------------------------------------------------
    Trev

Similar Threads

  1. Question about DNF$
    By $ideline in forum Domain Beginners and Newbies
    Replies: 7
    Last Post: 04-04-2007, 05:36 PM
  2. A simple question
    By H2FC in forum Gold Cafe
    Replies: 4
    Last Post: 11-14-2006, 11:33 AM
  3. Join DropWatch.com pay with DNF$
    By Domainut in forum Advertising and Related Offers
    Replies: 22
    Last Post: 09-04-2005, 08:33 PM
  4. 100 DNF$ - Join my forum + Quality Bonus
    By WebMomentum in forum DNF$ Sales/Domain Auctions
    Replies: 35
    Last Post: 10-31-2004, 11:24 PM

Bookmarks

Posting Permissions

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

Domain name forum recommended by Domaining.com