SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast gavin681's Avatar
    Join Date
    May 2002
    Location
    Nassau, Bahamas.
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I need to redirect a domain name

    Hi Everyone,

    I have built a simple directory and hosted it under my site fast-sites.net

    I have also bought the domain name www.bahamasvacationrentals.net

    Does anyone know how I can redirect this domain name which is currently pointed to www.fast-sites.net to one of my sub pages: http://www.fast-sites.net/bahamasvac...ls/default.htm

    Any help is as always much appreciated.

    Thanks.

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    insert

    PHP Code:
    window.location.href='http://www.fast-sites.net/bahamasvacationrentals/default.htm'

  3. #3
    SitePoint Enthusiast gavin681's Avatar
    Join Date
    May 2002
    Location
    Nassau, Bahamas.
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When someone types in their browser www.bahamasvacationrentals.net I want them to go to http://www.fast-sites.net/bahamasvac...ls/default.htm

  4. #4
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, insert

    <script type="text/javascript">
    window.location.href='http://www.fast-sites.net/bahamasvacationrentals/default.htm';
    </script>

    into this page

    http://www.bahamasvacationrentals.net/

    coldfusion

    <cflocation url="/somefolder/somepage.cfm">

    asp

    Response.redirect("new url");

    meta

    <meta http-equiv="refresh" content="2; url=location.asp">

    php

    header("Location: http://www.domain.com/");

    or use that htaccess redirect page

    http://httpd.apache.org/docs/mod/mod_alias.html

  5. #5
    SitePoint Enthusiast gavin681's Avatar
    Join Date
    May 2002
    Location
    Nassau, Bahamas.
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Andrew.


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
  •