Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Two sites - One IP ???


Message #1 by "Samuel R." <v.steele@u...> on Sat, 27 Jan 2001 02:09:40 -0300
Hello



How Can I configure two WebSites in the same Machine (Server). The Server in

question is WIN 2000. I'm able to create new web sites in the IIS console,

but I really don't know how can I distinct one from each other. For exemple:

My IP is 192.168.9.150, so I type this on the location bar in browser, the

invoked site is the Default WebSite. I have another one, called "test", the

IP is the same, so haow can I distinct them at the time I have to open'em in

the browser. What do I have to set up?



Please helpe me!

Regards,

Samuel







Message #2 by "Bassel Issa" <basselih@h...> on Sat, 27 Jan 2001 09:23:27 -0000
you can do it by the port number





>From: "Samuel R." <v.steele@u...>

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

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

>Subject: [asp_web_howto] Two sites - One IP ???

>Date: Sat, 27 Jan 2001 02:09:40 -0300

>

>Hello

>

>How Can I configure two WebSites in the same Machine (Server). The Server 

>in

>question is WIN 2000. I'm able to create new web sites in the IIS console,

>but I really don't know how can I distinct one from each other. For 

>exemple:

>My IP is 192.168.9.150, so I type this on the location bar in browser, the

>invoked site is the Default WebSite. I have another one, called "test", the

>IP is the same, so haow can I distinct them at the time I have to open'em 

>in

>the browser. What do I have to set up?

>

>Please helpe me!

>Regards,

>Samuel

>

>

>

Message #3 by "Samuel R." <v.steele@u...> on Sat, 27 Jan 2001 15:59:41 -0300
Hello Issa



I'll try to do it.

Thanks a lot for while.



Beste Regards,

Samuel



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

From: "Bassel Issa" <basselih@h...>

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

Sent: Saturday, January 27, 2001 6:23 AM

Subject: [asp_web_howto] Re: Two sites - One IP ???





> you can do it by the port number

>

>

> >From: "Samuel R." <v.steele@u...>

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

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

> >Subject: [asp_web_howto] Two sites - One IP ???

> >Date: Sat, 27 Jan 2001 02:09:40 -0300

> >

> >Hello

> >

> >How Can I configure two WebSites in the same Machine (Server). The Server

> >in

> >question is WIN 2000. I'm able to create new web sites in the IIS

console,

> >but I really don't know how can I distinct one from each other. For

> >exemple:

> >My IP is 192.168.9.150, so I type this on the location bar in browser,

the

> >invoked site is the Default WebSite. I have another one, called "test",

the

> >IP is the same, so haow can I distinct them at the time I have to open'em

> >in

> >the browser. What do I have to set up?

> >

> >Please helpe me!

> >Regards,

> >Samuel

> >

> >

Message #4 by "Marcelo" <cyborg@m...> on Mon, 29 Jan 2001 02:23:03 -0800
BE sure that it works....I use it always....I never bring Full IP to cheap

clients...



and take a trick...Dont make a virtual ftp site for any client....use only

one and make the next:



if you have this tree:



WEB

----SITE1

----SITE2

----SITE3



Put NTFS permissions as this:  Administrator FUll Control - Syetem FULL

CONTROL (so logs can be mapped here and created) and I_USR (internet user)

Read.



In this way you get security and all system working.



In each of the folders, create another one inside so this:



----SITE1

--------CLIENT_PEPE

----SITE2



To the CLIENT_PEPE folder, put permissions of full control to the NT (ftp)

User (try to create this user the same name as the folder (explanation

later)) for this website....so as you do the same for the another

clients.....each one, has only access to his folder.....Why a folder inside

the another?

It's a bug of IIS (or not a bug), if you use only one level and apply ntfs

permissions directly to SITE1, when the user was in the FTP and do a CD \

command (or UP directory button) he can see all the NAMES (not the content)

of all the other sites.....but the content is portected by ntfs

poermissions.



    So...another trick es to create the username as the same FOLDER

name....so when he connect by FTP, he's mapped directly to his folder,

avoiding to put "remote folder".  If you don;t make this in this way, is the

same, but the client, see the whole directory.  I crashed my head many times

trying to solve this...but whit this two level folder, it's ok.



I hope to be useful for you.

If not, take my icq  # 7916485



<Marcelo/>



Message #5 by "Ray Smith" <raysmith@r...> on Mon, 29 Jan 2001 09:12:29 -0600
Change your header info for each web site. They will all be on the same IP

but depending on what you type (www.site1.com or www.site2.com) the correct

site will be served up. Click the Web Site tab on your web site's propeties

window, then click the Advanced button next to your IP Address window. there

you can change the host header information.





Ray Smith

Webmaster

CP-Tel Network Services



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

From: "Samuel R." <v.steele@u...>

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

Sent: Saturday, January 27, 2001 12:59 PM

Subject: [asp_web_howto] Re: Two sites - One IP ???





> Hello Issa

>

> I'll try to do it.

> Thanks a lot for while.

>

> Beste Regards,

> Samuel

>

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

> From: "Bassel Issa" <basselih@h...>

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

> Sent: Saturday, January 27, 2001 6:23 AM

> Subject: [asp_web_howto] Re: Two sites - One IP ???

>

>

> > you can do it by the port number

> >

> >

> > >From: "Samuel R." <v.steele@u...>

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

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

> > >Subject: [asp_web_howto] Two sites - One IP ???

> > >Date: Sat, 27 Jan 2001 02:09:40 -0300

> > >

> > >Hello

> > >

> > >How Can I configure two WebSites in the same Machine (Server). The

Server

> > >in

> > >question is WIN 2000. I'm able to create new web sites in the IIS

> console,

> > >but I really don't know how can I distinct one from each other. For

> > >exemple:

> > >My IP is 192.168.9.150, so I type this on the location bar in browser,

> the

> > >invoked site is the Default WebSite. I have another one, called "test",

> the

> > >IP is the same, so haow can I distinct them at the time I have to

open'em

> > >in

> > >the browser. What do I have to set up?

> > >

> > >Please helpe me!

> > >Regards,

> > >Samuel

> > >

> > >

>


  Return to Index