Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Subdomain?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 5.0 on Windows 2003 ?  
Author Message
boise_bound2

External


Since: Jun 09, 2004
Posts: 50



(Msg. 1) Posted: Mon May 09, 2005 12:43 pm
Post subject: Subdomain?
Archived from groups: microsoft>public>inetserver>iis (more info?)

Can you set up host headers on a site that has a subdomain? So if I
have www.site.com and want to use host headers on a
www.members.site.com, can I do this?

If so, how?

Steve

 >> Stay informed about: Subdomain? 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Mon May 09, 2005 12:43 pm
Post subject: Re: Subdomain? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The host header is a string sent by the client as part of the HTTP header.
It is independent of "domains".

I don't understand what you mean by using host headers on
<a style='text-decoration: underline;' href="http://www.members.site.com." target="_blank">www.members.site.com.</a> Is that a website in IIS? If so, yes, you can add a
host header to it.

Or do you mean that you have a website <a style='text-decoration: underline;' href="http://www.site.com," target="_blank">www.site.com,</a> and now want to
create a new website named <a style='text-decoration: underline;' href="http://www.members.site.com?" target="_blank">www.members.site.com?</a> If so, you will need to
create the necessary records in the DNS server, otherwise your clients
will not be able to find the webserver.


--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


Steve Grosz wrote:

 > Can you set up host headers on a site that has a subdomain? So if I
have <a style='text-decoration: underline;' href="http://www.site.com" target="_blank">www.site.com</a> and want to use host headers on a <a style='text-decoration: underline;' href="http://www.members.site.com," target="_blank">www.members.site.com,</a>
can I do this?
 >
 > If so, how?
 >
 > Steve<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Subdomain? 
Back to top
Login to vote
boise_bound2

External


Since: Jun 09, 2004
Posts: 50



(Msg. 3) Posted: Mon May 09, 2005 2:08 pm
Post subject: Re: Subdomain? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I already have the <a style='text-decoration: underline;' href="http://www.site.com" target="_blank">www.site.com</a> and want to create <a style='text-decoration: underline;' href="http://www.members.site.com" target="_blank">www.members.site.com</a>

I did add the the A record under site.com for 'members' pointing to the
same web server.

I just wasn't sure if there was anything else that needed to be done.

Steve

Kristofer Gafvert wrote:
 > The host header is a string sent by the client as part of the HTTP
 > header. It is independent of "domains".
 >
 > I don't understand what you mean by using host headers on
 > <a style='text-decoration: underline;' href="http://www.members.site.com." target="_blank">www.members.site.com.</a> Is that a website in IIS? If so, yes, you can add
 > a host header to it.
 >
 > Or do you mean that you have a website <a style='text-decoration: underline;' href="http://www.site.com," target="_blank">www.site.com,</a> and now want to
 > create a new website named <a style='text-decoration: underline;' href="http://www.members.site.com?" target="_blank">www.members.site.com?</a> If so, you will need to
 > create the necessary records in the DNS server, otherwise your clients
 > will not be able to find the webserver.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Subdomain? 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 4) Posted: Tue May 10, 2005 4:55 am
Post subject: Re: Subdomain? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

The basic steps are:
a) create necessary record in the DNS (A or CNAME)
b) create a new website in IIS (or choose an existing site)
c) add the necessary host-header entry to the website's properties

Basically the client sends a HTTP Host: header to the server with the
request. The server looks at this Host: header, and sees if there is a
website on the server configured to listen for requests matching that
header. If there isn't, IIS will look to see if there's a website that's
configured to listen for any requests (no host-header matching required). If
there isn't, the request will be rejected with 400 Bad Hostname (or
similar).

Cheers
Ken

--
Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com


"Steve Grosz" <boise_bound RemoveThis @hotmail.com> wrote in message
news:uJiGeLNVFHA.3184@TK2MSFTNGP15.phx.gbl...
:I already have the www.site.com and want to create www.members.site.com
:
: I did add the the A record under site.com for 'members' pointing to the
: same web server.
:
: I just wasn't sure if there was anything else that needed to be done.
:
: Steve
:
: Kristofer Gafvert wrote:
: > The host header is a string sent by the client as part of the HTTP
: > header. It is independent of "domains".
: >
: > I don't understand what you mean by using host headers on
: > www.members.site.com. Is that a website in IIS? If so, yes, you can add
: > a host header to it.
: >
: > Or do you mean that you have a website www.site.com, and now want to
: > create a new website named www.members.site.com? If so, you will need to
: > create the necessary records in the DNS server, otherwise your clients
: > will not be able to find the webserver.
: >
: >
 >> Stay informed about: Subdomain? 
Back to top
Login to vote
lists

External


Since: Apr 22, 2004
Posts: 390



(Msg. 5) Posted: Tue May 10, 2005 1:22 pm
Post subject: Re: Subdomain? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 09 May 2005 12:43:49 -0600, Steve Grosz
<boise_bound DeleteThis @hotmail.com> wrote:


Host headers:

<a style='text-decoration: underline;' href="http://www.serverautomationtools.com/navigation/FAQ_main.htm" target="_blank">http://www.serverautomationtools.com/navigation/FAQ_main.htm</a>


John Cesta

The CPU Checker - Monitors your CPU % while you sleep
LogFileManager - IIS LogFile Management Tool
WebPageChecker - Helps Maintain Server UpTime
DomainReportIt PRO - Helps Rebuild IIS
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>


 >Can you set up host headers on a site that has a subdomain? So if I
 >have <a style='text-decoration: underline;' href="http://www.site.com" target="_blank">www.site.com</a> and want to use host headers on a
 >www.members.site.com, can I do this?
 >
 >If so, how?
 >
 >Steve<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Subdomain? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to set up a subdomain? - Hi All, I have a couple of IIS 5 questions (that are probably simple, but I can't seem to phrase them in the way the Microsoft site is expecting): 1) In a domain name such as portal.alviani.com, what is "portal" normally referred to as? I'v...

How to create subdomain? - Hi, Thanks for your time. I need information on creating a subdomain immediately, which is available to the customer after sign-up. For Ex: I have mydomain.com website on IIS 6.0 My customer with name 'user1' signed-up and I want to give him a new..

create a subdomain - Hi, i have windows 2003 small business server, i have a domain www.mydomain.com and i want create subdomain like a myname.mydomain.com how can i do???, what i need to make it???

How to Create SubDomain? - I'm running Win2003 Server(Standard Edition)/IIS6.0. (1) How do I create a subdomainname, like this: www.SubDomainName.DomainName.com?? (2) Do I have to register the SubDomainName liek I had to register the DomainName?? -- NuBee

subdomain and domain on same server - Hi, my domain site is using SSL, now I need to set up another site which will be subdomain, and also need to use SSL, can I use the site header or has to be separeate ip? If I can use site header and share the same certificate, that will be great. Or...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]