• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

including a banner on what domain/page

Status
Not open for further replies.

PaullasPaullas is verified member.

Acorn Moderator
Nominet Member
Nominet Registrar
Hosting Provider
Domain Marketplace
Parking Service
Joined
Jul 13, 2004
Posts
5,928
Reaction score
467
not sure how to describe this but here goes.

i have a default landing page that all my domains are parked at. what i am looking for is does anyone know how to display text/banner as to what domain name it is:

for example:

domain1 is the main page/site
domain2 is parked at domain 1 but i want a clothes banner and some clothes text to be at the top of the page.
domain3 is parked at domain 1 but i want a loans banner and some loan text to be at the top of the page

thanks in advance :)
 
are you saying you'd like to know which domain was called and then drive the corresponding content accordingly all centrally in one place?

easiest thing to do is some simple php like:
$myDomain = $_SERVER['HTTP_HOST'];

And then based on this value, output whichever banner etc you want.
 
Status
Not open for further replies.
Top Bottom