Results 1 to 2 of 2

Thread: Is it possible to do this [ domain pointing question ]

  1. #1
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink Is it possible to do this [ domain pointing question ]

    Is it possible or how to use 2 domain names point to the same site, with this conditions

    if visitor use domain1.com this domain will use index1.php

    if visitor use domain2.com this domain will use index2.php

    [ or it's mean 2 index files for different domain in one site]

    and both domain must not use redirect url, but use DNS

    I'm understand about pointing domain name but with conditions above is it possible ?


  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Aye, although a redirect would probably be easier. Otherwise you need to use .htaccess.

    See HERE for all the info.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •