Redirecting problems.

Discussion in 'Domain Names' started by Jerlene.net, Aug 10, 2007.

  1. #1
    My site jerlene.nocatch.net is still under that domain.
    I want it under dnbanter.com
    The nameservers got updated a long time ago but when I go to dnbanter.com it's just parked and say that the domain is hosted by NetWork Solutions(which it isn't).

    How do I get jerlene.nocatch.net and dnbanter.com to go to the same pages?
     
    Jerlene.net, Aug 10, 2007 IP
  2. data-analyse

    data-analyse Active Member

    Messages:
    266
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    You can do a .htaccess redirect if you have access to you hosting server:

    There are different ways to do this, heres 1:

    An .htaccess, is probably the most effective and simple method for creating a redirect. .htaccess files can be used to forward requests it to a new page you have specified, this is handy when page locations have moved, or you simply want to forward requests from one domain to another. Create a .htaccess file with the following line:

    Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html


    Replace /olddirectory/oldfile.html with the full path of the file that has moved. The third field should be the full URL of where the file has moved to. You can also redirect an entire directory by simple using

    Redirect /olddirectory http://yoursite.com/newdirectory/


    To point an entire site to a different URL, such as domain.net redirected to domain.com, use the following in your .htaccess file:

    Redirect 301 / http://point-to-new-site.com/
     
    data-analyse, Aug 10, 2007 IP
  3. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #3
    It's under a free host so .htaccess isn't enabled.
     
    Jerlene.net, Aug 10, 2007 IP
  4. data-analyse

    data-analyse Active Member

    Messages:
    266
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    <script type="text/javascript">document.location.href='www.yournewsite.ca/index.html'</script>

    you can add that to your index.html file for a redirect
     
    data-analyse, Aug 10, 2007 IP
  5. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #5
    Anywhere in the index file?
     
    Jerlene.net, Aug 10, 2007 IP
  6. sagargemini

    sagargemini Peon

    Messages:
    625
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think you need to specify it in the HEAD of the index file. This way, it worked fine for me! ;)
     
    sagargemini, Aug 13, 2007 IP
  7. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #7
    Ok, what exactly do I need to do? This coding crap confuses me.
     
    Jerlene.net, Aug 13, 2007 IP
  8. sairos

    sairos Well-Known Member

    Messages:
    546
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #8
    make a index.html file in your old hosting root folder or edit the existing one.

    you must insert this line

    inside the <head> tag


    it will look like this

    hope it helps
     
    sairos, Aug 13, 2007 IP
  9. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #9
    Thanks a lot. I'll try this later on. Is this my last resort?
     
    Jerlene.net, Aug 13, 2007 IP
  10. GTAce

    GTAce Notable Member

    Messages:
    1,389
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    210
    #10
    Jerlene, did you update your nameservers for that domain to point to:

    ns1.nocatch.net
    ns2.nocatch.net

    ?

    It looks like you haven't done that yet
     
    GTAce, Aug 14, 2007 IP
  11. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #11
    I have. That was the first thing I did. Just to double check, I had NameCheap check it out for me as well. Everything was fine.
     
    Jerlene.net, Aug 14, 2007 IP
  12. GTAce

    GTAce Notable Member

    Messages:
    1,389
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    210
    #12
    It appears to be working now
     
    GTAce, Aug 14, 2007 IP
  13. Jerlene.net

    Jerlene.net Prominent Member

    Messages:
    11,975
    Likes Received:
    463
    Best Answers:
    1
    Trophy Points:
    385
    #13
    Oh yah, didn't see that.
     
    Jerlene.net, Aug 14, 2007 IP