Help with redirection

Discussion in 'Site & Server Administration' started by transcend2005, Jun 18, 2007.

  1. #1
    I have a domain name from dynadot.com and i am hosting my files at another company. What i want is to show the hosted files and a access the domain name from dynadot.
    Example :

    when i access : www.myname.com i want to show www.othersite.com/testing
    But i don't want 'www.othersite.com/testing' to appear in the address form or in any other place ... Thanks.
     
    transcend2005, Jun 18, 2007 IP
  2. rederick

    rederick Peon

    Messages:
    128
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    in the .htaccess if it's a linux host you could try :

    RewriteEngine on
    Options +FollowSymLinks

    RewriteRule ^(.*)$ http://www.othersite.com/testing/$1 [NC,QSA,L]

    I haven't tested that but should be something like what you are looking for.
     
    rederick, Jun 18, 2007 IP
  3. transcend2005

    transcend2005 Peon

    Messages:
    471
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes, thanks, i'll try that right now.
     
    transcend2005, Jun 19, 2007 IP
  4. transcend2005

    transcend2005 Peon

    Messages:
    471
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i'm mad ... I really don't understand or it doesn't work ...
    My files are hosted at : http:://www.asdfghj.com/folder and when i access www.asdfgh.com i want to show www.asdfghj.com/folder, using .htaccess. How do i do that ? And what url i input to search engines ?
     
    transcend2005, Jun 19, 2007 IP
  5. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #5
    I guess you want something like http://www.mess.be, right? Frames are one way I can think of.
     
    eXe, Jun 19, 2007 IP
  6. transcend2005

    transcend2005 Peon

    Messages:
    471
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i need something done by .htaccess file.
     
    transcend2005, Jun 19, 2007 IP
  7. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thats not possible.

    Use frame to do that, excpet that, no possible way.
     
    inworx, Jun 20, 2007 IP
  8. transcend2005

    transcend2005 Peon

    Messages:
    471
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    if i use frames, how can then search engines index my page ?
     
    transcend2005, Jun 20, 2007 IP
  9. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #9
    Cloaking. Show one version of the page to humans (with frames), another to search engines.
     
    eXe, Jun 20, 2007 IP
  10. transcend2005

    transcend2005 Peon

    Messages:
    471
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    :? how do i do that ?
     
    transcend2005, Jun 26, 2007 IP
  11. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #11
    Basically you show a different version of your site to search engine sipders based on their IP address, their HTTP_REFERER header, and the user-agent they identify themselves as.

    There are ways to do this for free, but two popular scripts that come to mind are:

    http://www.kloakit.com/

    and

    http://www.ip-delivery.com/
     
    eXe, Jun 26, 2007 IP