#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    Hi,
    I have several domain names pointing at one website. Is it possible to tell from the main page which of these domain names the user has entered to reach the site, ie. the .com or .co.uk version. I suppose this is a bit like the inverse of the referring URL.
    Thanks,
    Diarmid
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    36
    Rep Power
    15
    Try running a "phpinfo();" and going through different servers to get that information.

    ------------------
    -Gabe
    "Save trees, eat beaver."
    "y!php3++?"
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    15
    Are they redirected to this other site, or even to another file within those domains?

    If so, analyse the $HTTP_REFERER variable. This variable has the URL where your visitor came from. If your are redirecting them from the default page from those domains to the actual site, this is one to do it.



    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl

Similar Threads

  1. Cheap Multiple Domain Hosting plans, $2.95/year.
    By dpnh in forum Web Hosting Offers
    Replies: 0
    Last Post: January 16th, 2004, 11:38 AM
  2. Reseller And Multiple Domain Hosting
    By lgoklani in forum Web Hosting Offers
    Replies: 0
    Last Post: January 2nd, 2004, 08:42 AM
  3. multiple ip's one domain?
    By buehlertech in forum DNS
    Replies: 0
    Last Post: October 25th, 2003, 10:59 PM
  4. 1 web space should have multiple domain
    By gwwindia in forum Web Hosting
    Replies: 1
    Last Post: October 14th, 2003, 03:06 PM
  5. 1 web space should have multiple domain
    By gwwindia in forum Free Web Hosting
    Replies: 0
    Last Post: October 14th, 2003, 02:39 AM

IMN logo majestic logo threadwatch logo seochat tools logo