[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Domain Parking - Off Topic



On Thu, 11 Jan 2001, Gavin Nelmes-Crocker wrote:

> Hi
> 
> Does anyone know how when you park a domain on an IP and someone goes to
> that page by the url that it displays the page dynamically showing the url
> you typed i.e. you create one page with a <domain.com> tag and when called
> it displays the url type in.

This can be done trivially using server incluses (eg index.shtml)

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

(plus the appropriate <html>...

note that if someone access the domain by IP number that's what they will
see however...the server hasn't a clue...