Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 2 of 2

This is a discussion on Determining URL of parked domain in the Shared & Semi-Dedicated forum
I have a main domain, let's say www.domain.com I have a parked domain, www.parkeddomain.com pointing to the main domain. Is there a way for the ...

  1. #1
    JPC Member
    Join Date
    Oct 2003
    Posts
    10

    Determining URL of parked domain

    I have a main domain, let's say www.domain.com

    I have a parked domain, www.parkeddomain.com pointing to the main domain.

    Is there a way for the index.php to know what domain name the user typed? Is it reflected in the $HTTP_HOST?

    Thanks

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Yes, HTTP_HOST should contain the domain name that was used to request a page.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

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
  •