HighDots Forums  

Multiple urls, one web site

alt.html alt.html


Discuss Multiple urls, one web site in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fan924
 
Posts: n/a

Default Multiple urls, one web site - 09-05-2008 , 07:49 AM






I have a single web site and am going to have several different web
address pointed at it. They will all share the same index.htm file.
Example urls.
www.example_one.com
www.example_two.com
www.example_three.com
I would like the index.htm to display a different look depending on
the url being used. Or, branch to a different html file for each of
the urls being used. Possible? TIA

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Multiple urls, one web site - 09-05-2008 , 12:55 PM






Fan924 wrote:

Quote:
I have a single web site and am going to have several different web
address pointed at it.
The point being...?

Quote:
They will all share the same index.htm file.
Which "they"? Didn't you say you have a signle site

Poor example URLs, since thet are not guaranteed to be nonexistent. Use
one.example.com instead, for example (pun intended).

Quote:
I would like the index.htm to display a different look depending on
the url being used.
Didn't you say you they are share the same index.htm file? Oh well, it _is_
technically possible to make it appear differently, if it refers to a CSS
file that is server-generated and actually looks at the server name
(ultimately, the Host header). But what's the point?

Quote:
Or, branch to a different html file for each of
the urls being used. Possible? TIA
So you want different sites, really? Then you just need your server-side
code to check for the Host header. Further information cannot be given,
since you gave for further facts (well, really no facts).

Yucca



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.