|
|
| gambit 2003-11-24, 12:44 am |
| I have a fresh install of Small business server 2000 installed. (with the full IIS).
For experimental / study purposes im trying to host multiple sites on my local Intranet.
The help file in IIS states that you cannot use headers when using SSL (secured socket layering)
As far as i know SSL is off by default so it shouldnt be and issue, however i can't seem to get my host header to work?
I think im having a proplem because I may not be understanding DNS. I will post some jpg's to show some of the settings i have and maybe someone can shed some light on my dimly lite brain. Here is what i want to do.
http://server1/iivsovr6.gif
The following is taken from the IIS help file
quote from help file
"You can also use host header names with a single static IP address to host multiple sites. you would still add the host name to your name resolution system (typically DNS). The difference is that once a request reaches the computer, IIS uses the host name passed in the HTTP header to determine which site clients are requesting. The ABOVE graphic depicts a computer using host header names to host multiple Web sites"
Here is my setup (so far)
http://server1/IIS.jpg
Marketing Properties. In the (ADVANCED)tab I have indicated the host header name of marketing. A port is mandatory so i have used default 80.
http://server1/IISprop.jpg
DNS settings on same server, which is the webserver and DNS server
http://server1/DNS.jpg
When i type http://server1 in my browser, I see the default.htm page which i have placed in the default site. Great !
But when i type http://marketing all get is a DNS error. = the familiar page not found.
I don't know how to correct my problem or what im doing wrong.
http://server1.markdoc.jpg
there is a default.htm page in the marketing directory and it was created by me so it contains content. I just cant seem to view it.
thnx in advance  | |
| Tech Ranger 2003-11-24, 9:35 am |
| Do you have DNS records for your host headers? | |
| gambit 2003-11-24, 11:17 am |
| I screwed up this first post and the pics dont show.
I will just start a new thread where the JPG's show | |
| jocampo 2003-11-25, 7:21 pm |
| Here's my 2 cents.
1.Create a zone in your DNS servers...call it.... example.com
2.In your zone, you must have the host record for your webserver. Say, its names is webserver...so, you must have a Host Record for webserver.example.com
3.Create 2 more zones in your DNS. Call 'em... site1.com and site2.com
3. Create a Canonical record in each of the new sites zones (site1.com and site2.com). Say... www , and uses webserver AS THE REAL HOST for this canonical record; i mean... www must points to webserver.example.com (that is in the example.com zone)
4. Create the folders for each of your html files (the site content)
5. Create 2 Virtual Sites using www.site1.com AND www.site2.com as your Host Headers. Use the same IP address (the Webserver IP) for both. And put each folder location for each one of 'em.
VOILA'...it should works now...i guess, hahaha... | |
| Tech Ranger 2003-11-25, 9:45 pm |
| I know that you would set up aliases for your host headers, but why do you need additional zones? | |
| jocampo 2003-11-26, 7:13 am |
| quote: Originally posted by Tech Ranger
I know that you would set up aliases for your host headers, but why do you need additional zones?
Hey Tech!!!!!!!!!! what's up, hehehe...
You need to create those new zones, because the 1st zone is not authoritative for the browser request. I mean...if you have set up 2 sites:
www.site1.com
www.site2.com
...the 1st thing your browser will do is check the DNS for those the parent zones: site1.com and site2.com, trying to locate the WWW machine(remember, the hostname here is the leftmost part). If you have not created those zones before, you're going to recieved errors when displaying webserver content. | |
| gambit 2003-11-26, 1:17 pm |
| Thank you for your replies. I've been at this for 4 days now (well not 24/7)but I still can't see the forest for the trees. Cant remember what I've tried and what I haven't tried. Brain fried. (that rhymesAny way I have posted a website with IIS and DNS configurations displayed in screen shots.
Again I appreciate your help because I can't let go of this like a pit bull. With no teacher to ask i feel like im trying to guess the combination of a lock. trial and error trial and error. process of elimination. etc.
I have found many sites and step by steps for host headers but none of them take you all the way through the DNS entries. They just explain how create the site in IIS which is pretty straight forward. Im new to manual DNS configuration. im rambling now.
here is the website
http://vbar0.tripod.com | |
| jocampo 2003-11-26, 2:08 pm |
| quote: Originally posted by gambit
Thank you for your replies. I've been at this for 4 days now (well not 24/7)but I still can't see the forest for the trees. Cant remember what I've tried and what I haven't tried. Brain fried. (that rhymesAny way I have posted a website with IIS and DNS configurations displayed in screen shots.
Again I appreciate your help because I can't let go of this like a pit bull. With no teacher to ask i feel like im trying to guess the combination of a lock. trial and error trial and error. process of elimination. etc.
I have found many sites and step by steps for host headers but none of them take you all the way through the DNS entries. They just explain how create the site in IIS which is pretty straight forward. Im new to manual DNS configuration. im rambling now.
here is the website
http://vbar0.tripod.com
Gambit:
I recommend you, erase ALL, and start from scratch. If you can follow my instructions, i'm sure you will set up the 2 virtual sites in a blink eye. Just create 2 additional zones (you must have one for your domain) and create a cname that points to the A record of the webserver (in the 1st and domain zone) | |
| gambit 2003-11-26, 2:43 pm |
| ok i did as you suggested JO and it worked great ! as you said it would.
Thanks alot jocampo and Tech Ranger!!
I will get a complete understanding on how and why this works on my own now. It will be much easier now that you guys have helped. | |
| jocampo 2003-11-26, 3:11 pm |
| quote: Originally posted by gambit
ok i did as you suggested JO and it worked great ! as you said it would.
Thanks alot jocampo and Tech Ranger!!
I will get a complete understanding on how and why this works on my own now. It will be much easier now that you guys have helped.
Excellent job!!! I was very interesting in your problem because i know exactly how its feel not to have a teacher or trainer near to you. I can say more... i just totally understood how virtual sites works just a few days ago, in a Windows2003 training that HP paid for me and my IT partners (i knew the theory, but never do it before. We use VMWare machines for practice). No doubt that Hands On practice is the key to success. Now i'm sure you'll never forget how to set up virtual sites on a W2k WebServer, hahaha.
 | |
| Tech Ranger 2003-12-01, 8:21 pm |
| quote: Originally posted by jocampo
Here's my 2 cents.
1.Create a zone in your DNS servers...call it.... example.com
2.In your zone, you must have the host record for your webserver. Say, its names is webserver...so, you must have a Host Record for webserver.example.com
3.Create 2 more zones in your DNS. Call 'em... site1.com and site2.com
3. Create a Canonical record in each of the new sites zones (site1.com and site2.com). Say... www , and uses webserver AS THE REAL HOST for this canonical record; i mean... www must points to webserver.example.com (that is in the example.com zone)
4. Create the folders for each of your html files (the site content)
5. Create 2 Virtual Sites using www.site1.com AND www.site2.com as your Host Headers. Use the same IP address (the Webserver IP) for both. And put each folder location for each one of 'em.
VOILA'...it should works now...i guess, hahaha...
Sirve! Sirve! No entiendo porque, pero Sirve! | |
| jocampo 2003-12-02, 7:49 am |
| quote: Originally posted by Tech Ranger
Sirve! Sirve! No entiendo porque, pero Sirve!
Hi Tech!!!
of course it works
claro que sirve....
dime, ¿que no entiendes?
what part you don't understand well? | |
| Tech Ranger 2003-12-02, 8:45 am |
| First of all, I didn't know that aliases can cross over zones. | |
| jeff_j_black 2003-12-03, 11:43 am |
| I have to admit that I was a little curious about this thread as well, but it makes sense that the zone site1.com would be authoratative for the record www.site1.com and so on. | |
| jocampo 2003-12-03, 11:46 am |
| quote: Originally posted by jeff_j_black
I have to admit that I was a little curious about this thread as well, but it makes sense that the zone site1.com would be authoratative for the record www.site1.com and so on.
Hi Jeff
¿what you mean with that?
 |
|
|
|