Ask a Question related to PHP Programming, Design and Development.

  1. #1

    Default Redirect script

    I have a hosted web site [url]www.storminfo.net[/url] .

    I also own a url of [url]www.tropicalterrorist.com[/url] . This is not officially
    hosted.. I just registered the domain name.

    Is it possible to write a php redirect script to have users taken to a
    subpage of [url]www.storminfo.net[/url] (like [url]www.storminfo.net/hd.html[/url]) when they type
    [url]www.tropicalterrorist.com[/url] on their web browsers address line? If so, where
    would this script reside?

    I am trying to avoid have 2 web hosting accounts.

    Any suggestions are appreciated.

    Thanks,

    George


    George Sambataro Guest

  2. Similar Questions and Discussions

    1. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    2. Apache returns 200 OK, but my perl script sends 302 REDIRECT
      On Thu, Aug 21, Michel Tokic inscribed on the eternal scroll: If you were sure about that, then why ask here? (i.e c.l.p.m)....
    3. Redirect control center script output
      Folks, Is there any way to have the output of scripts that are scheduled through the Script Center/Journal tools, to be redirected to some other...
    4. script redirect 2 hotmail
      Does anyone know of a script that redirects a users login to hotmail. The problem I am having now is that hotmail says that my browser doesnt...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Redirect script

    On Sun, 30 Nov 2003 10:58:54 -0500, "George Sambataro"
    <george_nospam@pcwp.com> wrote:
    >I have a hosted web site [url]www.storminfo.net[/url] .
    >
    >I also own a url of [url]www.tropicalterrorist.com[/url] . This is not officially
    >hosted.. I just registered the domain name.
    >
    >Is it possible to write a php redirect script to have users taken to a
    >subpage of [url]www.storminfo.net[/url] (like [url]www.storminfo.net/hd.html[/url]) when they type
    >[url]www.tropicalterrorist.com[/url] on their web browsers address line? If so, where
    >would this script reside?
    >
    >I am trying to avoid have 2 web hosting accounts.
    >
    >Any suggestions are appreciated.
    >
    >Thanks,
    >
    >George
    >
    Have your URL forwarded by whoever you registered
    it with.
    ?????


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    [url]http://www.newsfeeds.com[/url] - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
    ???? Guest

  4. #3

    Default Re: Redirect script

    George Sambataro wrote:
    >
    > I am trying to avoid have 2 web hosting accounts.
    they call it domain "pointing". and they will take money for this
    service :-(

    pero

    Pero Stevanoski Guest

  5. #4

    Default Re: Redirect script

    Pero Stevanoski wrote:
    >
    > George Sambataro wrote:
    > > I have a hosted web site [url]www.storminfo.net[/url] .
    > >
    > > I also own a url of [url]www.tropicalterrorist.com[/url] . This is not officially
    > > hosted.. I just registered the domain name.
    > >
    > > Is it possible to write a php redirect script to have users taken to a
    > > subpage of [url]www.storminfo.net[/url] (like [url]www.storminfo.net/hd.html[/url]) when they
    type
    > > [url]www.tropicalterrorist.com[/url] on their web browsers address line? If so,
    where
    > > would this script reside?
    > >
    > > I am trying to avoid have 2 web hosting accounts.
    >
    > they call it domain "pointing". and they will take money for this
    > service :-(
    A very good DNS service, which you will need to "point" the domain
    (tropicalterrorist.com) against your webserver, can be found here:
    [url]http://www.zoneedit.com/[/url] This service is free for up to five domains.

    So, first of all you should setup the nameserver for your domains so that
    all the traffic will go to the [url]www.storminfo.net[/url] server.

    To make the redirection work you could do something like:

    if($HTTP_HOST == [url]www.tropicalterrorist.com[/url])
    {header("Location:http://www.storminfo.net/hd/");}


    --
    Thomas


    Thomas Kaarud Guest

  6. #5

    Default redirect script

    I am looking for a script that will take users clicking on an external
    hyperlink to a page that says "you are now leaving...we are not responsible for
    content included on these pages" and then takes them to their link. Is there
    anything out there without having to create a redirect page for each hyperlink?

    startd6060 Guest

  7. #6

    Default Re: redirect script

    This worked for me [url]http://www.itc.virginia.edu/desktop/web/tech_redirect.html[/url]
    Montigue Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139