Posted By: chrisv | Apr 22nd @ 8:33 AM
page 1 of 1
Comments: 6 | Views: 1075
Back again asking for your all professional tips and advices. Wink

I'm looking for ways how can I do some scripts / powershell ones or whatever in Windows Server 2008 with IIS 7 + FTP 7 which does the following:
- create a subdomain to an existing one
- create a FTP site to the above subdomain

there a few other things to do but not now.
for the first one I have some like domain.com and I want to do a domain.com/site1 which has it's own ftp site as well.
I'm looking at appcmd now but can't find how/if I can create those types of subdomains with it.
Any help is greatly appreciated.
tks!

W3bbo
W3bbo
The Master of Baiters
"domains" refers to Host-headers.

And you can only have one FTP site per IP address.

I get the feeling you don't quite understand fully what you're wanting to accomplish.
W3bbo
W3bbo
The Master of Baiters
chrisv wrote:

W3bbo wrote:"domains" refers to Host-headers.

And you can only have one FTP site per IP address.

I get the feeling you don't quite understand fully what you're wanting to accomplish.


srry for not making it clear from start...

What I want to do is to have different sites like domain.com/site1, domain.com/site2 but I can't do this I think....
plus I wanted FTP for each of those sites.



You can't do that. IIS Virtual Servers ("Websites") and FTP Hosts exist on the basis of IP address, port assignment, or host-header. Not on the resource path.
W3bbo wrote:

You can't do that. IIS Virtual Servers ("Websites") and FTP Hosts exist on the basis of IP address, port assignment, or host-header. Not on the resource path.


Course you can, you just create a bunch of Virtual Directories hanging off a single 'website'. Similarly for FTP. Don't have any scripts to hand to do that, but it shouldn't be particularly difficult.
page 1 of 1
Comments: 6 | Views: 1075