Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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,862
Reaction score
397
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.
General chit-chat
Help Users
  • No one is chatting at the moment.
      Helmuts @ HelmutsHelmuts is verified member.: Good morning all
      Top Bottom