Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: how to create a domain?


Message #1 by SUNWEN <mrfat@c...> on Thu, 25 Jan 2001 9:25:2 +0800
the day before yesterday is the Chinese New Year,today,i will thank the people who have helped me.today
,i have another question.

    i have a domain called "www.cccc.com",and now i want to create a sub domain called "bbbb.cccc.com",how to do this using ASP?



Message #2 by "Ken Schaefer" <ken@a...> on Thu, 25 Jan 2001 18:49:50 +1100
You need to set this up in your DNS first...easiest way would be to just use

the administrative tools that come with your DNS server. Otherwise, if your

DNS server is on the same machine as your IIS server you could

theorectically use ADSI, but I don't have a clue how to.



Cheers

Ken



----- Original Message -----

From: "SUNWEN" <mrfat@c...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Thursday, January 25, 2001 12:00 AM

Subject: [asp_web_howto] how to create a domain?





> the day before yesterday is the Chinese New Year,today,i will thank the

people who have helped me.today ,i have another question.

>     i have a domain called "www.cccc.com",and now i want to create a sub

domain called "bbbb.cccc.com",how to do this using ASP?





Message #3 by "JstMeHr4u3" <jstmehr4u3@h...> on Thu, 25 Jan 2001 08:56:36 -0800
This subject is a pain in my backside.

With most Domain services, they require you to point your "C Name" (i.e.

bbb.ccc.com bbb being your C Name) at an IP Address. In other words you can

have bbb.ccc.com point to a subweb of http://www.ccc.com, or a different

port. You actually have to have it registered to a different IP address. And

doing this you have to have it be a seperate web application then your root

web. Now in iis the theory is that you can set up the Root Web to look at

one IP address, and another web to look at another IP Address. But the

physical problem is that you cant assign to IP Addresses to one machine. So

you get a router. You program a router to look at the incoming HTTP Request.

If it is for www.ccc.com(or the associating IP address) the router will send

the request to MachineA, if it is for bbb.ccc.com then the router will send

the request to MachineB.



Now, like I said, MOST domain services are like this, but if you have a

linux box that is running your own DNS Service, you can put in both entries

to point to Different ports, or even subwebs, but you have to hve the latest

DNS software.



Hope helps you.!

Mikes

----- Original Message -----

From: "Ken Schaefer" <ken@a...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Wednesday, January 24, 2001 11:49 PM

Subject: [asp_web_howto] Re: how to create a domain?





> You need to set this up in your DNS first...easiest way would be to just

use

> the administrative tools that come with your DNS server. Otherwise, if

your

> DNS server is on the same machine as your IIS server you could

> theorectically use ADSI, but I don't have a clue how to.

>

> Cheers

> Ken

>

> ----- Original Message -----

> From: "SUNWEN" <mrfat@c...>

> To: "ASP Web HowTo" <asp_web_howto@p...>

> Sent: Thursday, January 25, 2001 12:00 AM

> Subject: [asp_web_howto] how to create a domain?

>

>

> > the day before yesterday is the Chinese New Year,today,i will thank the

> people who have helped me.today ,i have another question.

> >     i have a domain called "www.cccc.com",and now i want to create a sub

> domain called "bbbb.cccc.com",how to do this using ASP?

>

>





Message #4 by "Matthew Lohr" <mlohr@t...> on Thu, 25 Jan 2001 12:55:10 -0500
If you are using Win2k you can assign more than one ip to a machine.  You

can also have both the domain www.cccc.com and bbb.cccc.com on the same IP

address.  You just need to use host headers in IIS to point the http request

to the appropiate sub directory



-----Original Message-----

From: JstMeHr4u3 [mailto:jstmehr4u3@h...]

Sent: Thursday, January 25, 2001 11:57 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: how to create a domain?





This subject is a pain in my backside.

With most Domain services, they require you to point your "C Name" (i.e.

bbb.ccc.com bbb being your C Name) at an IP Address. In other words you can

have bbb.ccc.com point to a subweb of http://www.ccc.com, or a different

port. You actually have to have it registered to a different IP address. And

doing this you have to have it be a seperate web application then your root

web. Now in iis the theory is that you can set up the Root Web to look at

one IP address, and another web to look at another IP Address. But the

physical problem is that you cant assign to IP Addresses to one machine. So

you get a router. You program a router to look at the incoming HTTP Request.

If it is for www.ccc.com(or the associating IP address) the router will send

the request to MachineA, if it is for bbb.ccc.com then the router will send

the request to MachineB.



Now, like I said, MOST domain services are like this, but if you have a

linux box that is running your own DNS Service, you can put in both entries

to point to Different ports, or even subwebs, but you have to hve the latest

DNS software.



Hope helps you.!

Mikes

----- Original Message -----

From: "Ken Schaefer" <ken@a...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Wednesday, January 24, 2001 11:49 PM

Subject: [asp_web_howto] Re: how to create a domain?





> You need to set this up in your DNS first...easiest way would be to just

use

> the administrative tools that come with your DNS server. Otherwise, if

your

> DNS server is on the same machine as your IIS server you could

> theorectically use ADSI, but I don't have a clue how to.

>

> Cheers

> Ken

>

> ----- Original Message -----

> From: "SUNWEN" <mrfat@c...>

> To: "ASP Web HowTo" <asp_web_howto@p...>

> Sent: Thursday, January 25, 2001 12:00 AM

> Subject: [asp_web_howto] how to create a domain?

>

>

> > the day before yesterday is the Chinese New Year,today,i will thank the

> people who have helped me.today ,i have another question.

> >     i have a domain called "www.cccc.com",and now i want to create a sub

> domain called "bbbb.cccc.com",how to do this using ASP?

>

>





Message #5 by "Ken Schaefer" <ken@a...> on Tue, 30 Jan 2001 11:53:22 +1100
Sorry, but do you have any idea how DNS works?



CName entries do not point to IP addresses, they point to A records.



You need to have an A record for every machine that you want to have in the

DNS. You can optionally have multiple CName entries for each A record. You

don't need a router to work out which requests should go to which machines -

you just need to set your DNS server up properly. Likewise, you don't need a

"Linux DNS Server" (whatever that is) to do this - any decent DNS

implementation (BIND, MS DNS will do it fine).



Cheers

Ken



----- Original Message -----

From: "JstMeHr4u3" <jstmehr4u3@h...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Friday, January 26, 2001 3:56 AM

Subject: [asp_web_howto] Re: how to create a domain?





> This subject is a pain in my backside.

> With most Domain services, they require you to point your "C Name" (i.e.

> bbb.ccc.com bbb being your C Name) at an IP Address. In other words you

can

> have bbb.ccc.com point to a subweb of http://www.ccc.com, or a different

> port. You actually have to have it registered to a different IP address.

And

> doing this you have to have it be a seperate web application then your

root

> web. Now in iis the theory is that you can set up the Root Web to look at

> one IP address, and another web to look at another IP Address. But the

> physical problem is that you cant assign to IP Addresses to one machine.

So

> you get a router. You program a router to look at the incoming HTTP

Request.

> If it is for www.ccc.com(or the associating IP address) the router will

send

> the request to MachineA, if it is for bbb.ccc.com then the router will

send

> the request to MachineB.

>

> Now, like I said, MOST domain services are like this, but if you have a

> linux box that is running your own DNS Service, you can put in both

entries

> to point to Different ports, or even subwebs, but you have to hve the

latest

> DNS software.

>

> Hope helps you.!

> Mikes






  Return to Index