So what we want is to enter www.site1.com and this be redirected to
www.site2.co.uk . This is hosted externally. If we add an A record of
www.site1.com to the IP address of www.site2.co.uk we get the wrong web site
as the header information does not contain www.site2.co.uk.
Can anyone help please? It would be most appreciated.
Thanks,
Simon
<HTML>
<Head>
<Title>Site2</Title>
</Head>
<Frameset>
<Frame src="http://www.site2.co.uk"></Frame>
</Frameset>
</HTML>
Or you could use IIS host headers.
Host headers, how to implement:
Each IIS web site must be unique in at least one of the following in order
to start correctly:
1. Port
2. IP Address
3. Host Header
Host Headers (part of the HTTP 1.1 specification) allow you to have multiple
web sites running on the same IP Address and TCP/IP port number. To
configure a host header use the full URL header (e.g. www.yourwebsite.com)
in the site's property configuration. Go to Site properties > Web Site >
Advanced > highlight the top line indicating (All Unassigned) > Edit > Enter
the full URL Header (the full domain name).
DNS Name resolution is performed by the web client's name server prior to
the HTTP request being sent. IIS looks at the host header field within the
HTTP request and passes the request to the appropriate local instance upon
arrival. Note that IIS installations on Windows NT Workstation 4.0, Windows
2000 Professional and Windows XP Professional will only allow one web site
per IP address.
Drawbacks:
Host Headers do not work with multiple SSL enabled sites (only one
SSL-enabled site per IP address)
FTP sites do not support Host Headers
Older browsers which only support HTTP 1.0 do not support Host Headers
Further reading:
http://www.iisfaq.com/HOSTHEADERS/
How to: Use Host Header Names to Host Multiple Sites from One IP Address
(Q190008)
--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights
"Simon >" <Si...@dwsolutions.co.uk<NOSPAM> wrote in message
news:O4yS4TDx...@TK2MSFTNGP14.phx.gbl...
--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights
"Todd J Heron" <todd_hero...@hotmail.com> wrote in message
news:ua5J5UFx...@TK2MSFTNGP14.phx.gbl...
Thanks again for your time.
Simon
"Todd J Heron" <todd_hero...@hotmail.com> wrote in message
news:%23JNerYF...@TK2MSFTNGP11.phx.gbl...