Two different sites, same web server

  • Thread starter Thread starter Toast
  • Start date Start date
T

Toast

We have one IIS5 box running two web sites. We would like
DNS to point one URL to one site and another URL to the
other site.

For example, let's say our domain is "food.loc". let's
call site 1 "meat" and site 2 "potatoes". I would like my
clients to be able navigate to http://meat.food.loc and
get directed to a defaultmeat.htm. When go to
http://potatoes.food.loc they would get directed to
defaultpotatoes.htm.

Currently both meat.food.loc and potatoes.food.loc open
the same default IIS page. Is there a way to get meat to
open one page and potatoes a seperate page with DNS or IIS
or any combination?

Thanks!
 
In
Toast said:
We have one IIS5 box running two web sites. We would like
DNS to point one URL to one site and another URL to the
other site.

For example, let's say our domain is "food.loc". let's
call site 1 "meat" and site 2 "potatoes". I would like my
clients to be able navigate to http://meat.food.loc and
get directed to a defaultmeat.htm. When go to
http://potatoes.food.loc they would get directed to
defaultpotatoes.htm.

Currently both meat.food.loc and potatoes.food.loc open
the same default IIS page. Is there a way to get meat to
open one page and potatoes a seperate page with DNS or IIS
or any combination?

Thanks!


Actually this is an IIS question. The DNS zone, food.loc would exist in DNS
and point to the webserver that this site is configured at. In IIS you would
create subfolders or subwebs. In each subweb's subfolder, create the
appropriate htm file and go into the subweb properties, document tab, and
add that name into it and move it to the top of the list so that is the file
that it gives.

If you want more info on IIS, I would suggest to post to the win2000.iis
newsgroups.

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS-IS" with no warranties and confers no
rights.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken; A lifetime commitment for a
pig. --
=================================
 
We have one IIS5 box running two web sites. We would like
DNS to point one URL to one site and another URL to the
other site.

For example, let's say our domain is "food.loc". let's
call site 1 "meat" and site 2 "potatoes". I would like my
clients to be able navigate to http://meat.food.loc and
get directed to a defaultmeat.htm. When go to
http://potatoes.food.loc they would get directed to
defaultpotatoes.htm.

Currently both meat.food.loc and potatoes.food.loc open
the same default IIS page. Is there a way to get meat to
open one page and potatoes a seperate page with DNS or IIS
or any combination?

See:

How to Create Multiple Websites with one IP address:
http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm
DNS Basics for IIS Administrators:
http://www.iisanswers.com/articles/dns_for_iis.htm

Jeff
 
In
Toast said:
We have one IIS5 box running two web sites. We would like
DNS to point one URL to one site and another URL to the
other site.

For example, let's say our domain is "food.loc". let's
call site 1 "meat" and site 2 "potatoes". I would like my
clients to be able navigate to http://meat.food.loc and
get directed to a defaultmeat.htm. When go to
http://potatoes.food.loc they would get directed to
defaultpotatoes.htm.

Currently both meat.food.loc and potatoes.food.loc open
the same default IIS page. Is there a way to get meat to
open one page and potatoes a seperate page with DNS or IIS
or any combination?

Thanks!

You need two web sites for this, In the Internet Services Manager select the
properties of your web sites. On the web site tab click on the Advanced
button, then select the web site configuration and click Edit, in the Host
Header Name field type in meat.food.loc on the meat site and
potatoes.food.loc on the potatoes site.
 
-----Original Message-----
We have one IIS5 box running two web sites. We would like
DNS to point one URL to one site and another URL to the
other site.

For example, let's say our domain is "food.loc". let's
call site 1 "meat" and site 2 "potatoes". I would like my
clients to be able navigate to http://meat.food.loc and
get directed to a defaultmeat.htm. When go to
http://potatoes.food.loc they would get directed to
defaultpotatoes.htm.

Currently both meat.food.loc and potatoes.food.loc open
the same default IIS page. Is there a way to get meat to
open one page and potatoes a seperate page with DNS or IIS
or any combination?

Thanks!
.

Thank you very much for your replies! I will try your
suggestions and post to the IIS group if I need anymore
assistance.
 
In
Toast said:
Thank you very much for your replies! I will try your
suggestions and post to the IIS group if I need anymore
assistance.


No prob!
:-)

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS-IS" with no warranties and confers no
rights.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory

HAM AND EGGS: A day's work for a chicken; A lifetime commitment for a
pig. --
=================================
 
Back
Top