Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 9 of 9
  1. #1
    DNF Addict

    Join Date
    Feb 2003
    Location
    Neither here no
    Posts
    3,443
    Country

    United States
    DNF$
    5,259
    Bank
    0
    Total DNF$
    5,259
    Donate  

    Anyone know of have a script for?

    I want my header or logo to change when a person enters via a different domain. Ex. if they enter via domain1.com then domain1.com's header shows. If they enter via domain2.com then domain2.com's header shows.

    Thanks

  2. #2
    Internet Entrepreneur
    David G's Avatar
    Join Date
    Apr 2002
    Location
    Sonoran Desert
    Posts
    6,002
    Blog Entries
    144
    Country

    United States
    DNF$
    3,462
    Bank
    0
    Total DNF$
    3,462
    Donate  

    Re: Anyone know of have a script for?

    Quote Originally Posted by JoltHost
    I want my header or logo to change when a person enters via a different domain. Ex. if they enter via domain1.com then domain1.com's header shows. If they enter via domain2.com then domain2.com's header shows. Thanks
    :huh: Do you mean so called Masked Forwarding, where the url displays what was typed in but the site being forwarded to is a different one and the site name in the browser window does not change?

  3. #3
    Platinum Lifetime Member
    cyphix's Avatar
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    3,603
    DNF$
    1,774
    Bank
    0
    Total DNF$
    1,774
    Donate  

    Re: Anyone know of have a script for?

    The only way that I know of to accomplish something like that is via referral tracking & you can't rely on there always being a referrer since they don't always get sent (depends on security settings etc etc).
    538k Lyrics Database Available - Only $49 - Check Here

  4. #4
    Platinum Lifetime Member
    FusionX's Avatar
    Join Date
    Jul 2004
    Location
    Los Angeles, USA
    Posts
    367
    DNF$
    3,153
    Bank
    0
    Total DNF$
    3,153
    Donate  

    Re: Anyone know of have a script for?

    Quote Originally Posted by JoltHost
    I want my header or logo to change when a person enters via a different domain. Ex. if they enter via domain1.com then domain1.com's header shows. If they enter via domain2.com then domain2.com's header shows.

    Thanks
    I also need something like this.

    I think that a very dirty and crude way to do may be using Javascript to determine the URL in the address box and then generating the page in runtime and thereby loading the appropriate image and html based on the result.

    Disclaimer: I am not really sure if this will work, but you can definitely try it out. Tell us the results.

    ~FusionX

  5. #5
    Former DNF Admin
    MediaHound's Avatar
    Join Date
    Feb 2004
    Location
    Florida
    Posts
    4,896
    Blog Entries
    1
    DNF$
    15,979
    Bank
    0
    Total DNF$
    15,979
    Donate  

    Re: Anyone know of have a script for?

    Quote Originally Posted by JoltHost
    I want my header or logo to change when a person enters via a different domain. Ex. if they enter via domain1.com then domain1.com's header shows. If they enter via domain2.com then domain2.com's header shows.

    Thanks
    Use ssi:

    <!--#echo var="SERVER_NAME"-->

    dnf appreciated!

  6. #6
    Platinum Lifetime Member
    adoptabledomains's Avatar
    Join Date
    Sep 2002
    Location
    Ohio, USA
    Posts
    779
    DNF$
    1,637
    Bank
    0
    Total DNF$
    1,637
    Donate  

    Re: Anyone know of have a script for?

    There are probably quite a few ways to accomplish this. One I can think of is to have the each domain parked on a separate account with a 301 redirect in .htaccess to a different index page or directory (with different logos) based on the domain the hit came in on. I use a similar technique to redirect instead of park additional domains on my main site, and in effect "Park" domains to a directory instead of the main index page. It keeps from being penalized by search engines for duplicate content on different domain names and consilidates hits to one domain for ranking. here's a link to the technique. It's designed for SEO, but could be used for your purpose.

    http://www.tamingthebeast.net/articl...1-redirect.htm


    I'm pretty sure it can be done with other .htaccess tricks as well. Very easy if you have an unlimited domain reseller Hosting account.

    I've seen some java or javascript programs that can send to a different entry page based on referral or other variables.
    Mark
    AdoptableDomains.com
    ~ Providing Good Homes for Good Names ~

  7. #7
    Former DNF Admin
    MediaHound's Avatar
    Join Date
    Feb 2004
    Location
    Florida
    Posts
    4,896
    Blog Entries
    1
    DNF$
    15,979
    Bank
    0
    Total DNF$
    15,979
    Donate  

    Re: Anyone know of have a script for?

    I think that the simplest is the ssi technique I typed above.

    you could do for instance, <img src='images/<!--#echo var="SERVER_NAME"-->.gif'>

    let your imagination do the rest... there's a ton of ways to incorporate this method of including files.

    Hope it helps you guys.

    Take care,
    MH

  8. #8
    Platinum Lifetime Member
    Martin23's Avatar
    Join Date
    May 2004
    Location
    .co.uk
    Posts
    165
    DNF$
    182
    Bank
    0
    Total DNF$
    182
    Donate  

    Re: Anyone know of have a script for?

    its not hard.

    Each name just redirect to

    /index.php?domain=WHATEVER.COM

    Then in page

    <h1> <? php ' echo'$domain

    a very simple easy way todo it.

    Send me a pm if you need help
    deleted

  9. #9
    DNF Addict

    Join Date
    Feb 2003
    Location
    Neither here no
    Posts
    3,443
    Country

    United States
    DNF$
    5,259
    Bank
    0
    Total DNF$
    5,259
    Donate  

    Re: Anyone know of have a script for?

    Thanks for the suggestions. I'll try a few out and may even contact some of you if I can't figure it out.

Similar Threads

  1. Domain Rating Script for Sale : $200.00 - only 10 scripts will be sold
    By system0 in forum Advertising and Related Offers
    Replies: 11
    Last Post: 10-21-2004, 01:29 AM
  2. CHEAP!! Rating SCRiPT !! _____ (photo-rating / picture-rating)
    By Prosperous in forum DNF$ Sales/Domain Auctions
    Replies: 5
    Last Post: 09-07-2004, 11:55 PM
  3. CHEAP!! Rating SCRiPT !! _____ (photo-rating / picture-rating)
    By Prosperous in forum Advertising and Related Offers
    Replies: 2
    Last Post: 09-07-2004, 10:30 PM
  4. Picture-rating script for only $19.95
    By Prosperous in forum Advertising and Related Offers
    Replies: 14
    Last Post: 04-13-2004, 03:53 PM
  5. PR6 Resume Site + script rights - ResumeWizard.info
    By samscripts in forum Developed Websites for Sale
    Replies: 1
    Last Post: 03-19-2004, 05:43 PM

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
  •  

Domain name forum recommended by Domaining.com