PDA

View Full Version : Virtual Directories and Domain Names


christrinder
05-08-2006, 10:14 AM
Hey all,

I'm building a rather large site for my company, and whereas my (self-taught) knowledge of ASP.NET (C#) coding is quite good, my more generic knowledge of hosting and server technology is rather limited.

I have built the application in the recommended format; Company.Project.Module...

The administration site needs to talk to other sites on the same server, i.e. from the admin site (Company.Project.Admin.Web) read and write images to:
Comapny.Project.Site1.Web

This is fine as I have set them up on my local machine as virtual directories. However, when I go live and put them on the www, I don't really want the target audience so see the full path:
www.Site1.com/Comapany.Project.Module.Site1/Page.aspx

So my question is, can I have numerous virtual directories sat alongside each other on a web server BUT have a different URL pointing to the virtual directory so that each request is from that virtual directoy and thus each link throughout the site doesn't have to include; "/Company.Project.Module.../"

... Hope this makes some sense and I would really appreciate your help.

Thanks,
Chris

kfgmaster
09-05-2006, 12:22 PM
Yes there is a webserver app, called DSLHosting or DSLHost and it lets you host multiple websites as if you are a hosting company so it should work for you. The only problem is that I can't remember if this server is for PHP or ASP.NET.

P.S. Do you know any good places to get tutorials on ASP.NET. I tend to use VBScript but since I'm relatively a beginner I won't mind if you point me to tutorials that lean towards C# or whatever.

Thanks

christrinder
09-06-2006, 10:34 AM
Thanks so much for your help. I'll look into that.

In terms of good tutorials, I can't even remember where I've picked it all up from. I did start by buying a Wrox book; "Beginning ASP.NET with C#" which was good, but I think most of my learning came from having to solve specific problems and investigating the namespaces for useful methods/properties.

Thanks again,
Chris