Paul
Paul

Reputation: 245

How can one IIS6 .NET app appear as subsite of another?

SiteA.com and siteB.com are .NET 2.0 apps on IIS6. SiteA uses SSL.

Can I set things up so siteA.com/train gets people to siteB.com?

Are there multiple ways to do this? How would a good way be configured?

Upvotes: 1

Views: 396

Answers (3)

Anon
Anon

Reputation: 1

Actually you can have two site instances with the same domain, one could work with www.domain.com and the other to only work on domain.com. DNS can distinguish between the two.

Upvotes: 0

Dave Swersky
Dave Swersky

Reputation: 34810

You can't have a subdirectory of a site point to the root, and you can't have two site instances with the same domain name- the DNS record for www.sitename.com points to exactly one IP address. I think you'd be better off with something like http://train.sitename.com.

Upvotes: 0

madcolor
madcolor

Reputation: 8170

Go to MyComputer, right+mouse+click and chose Manage. Go to IIS/Websites and open up your sitename.com website.. navigate to the directory sitename.com/train. right+mouse+click on the train folder and chose "properties". Under the "directory" property click "create". I think that's what you're looking for.

Upvotes: 1

Related Questions