I am trying to create a blog service where my visitors can create their own blogs which will host on my server. I want to give them their subdomain either as http://username.myserver.com or http://myserver.com/username can u tell me an easy method of doing this. I actually dnt want to give out URL containing querystrings as their blog URL like http://myserver.com/index.asp?username=john I want them to give out like http://myserver.com/username Any ideas?
I believe their are IIS filters that allow you to emulate ModRewrite for Apache. The filters woudl allow you to spoof SubDomains.
Buy: http://www.seoconsultants.com/windows/isapi/ Create your own in Delphi: http://immortals.fake.hu/delphiportal/modules.php?name=News&file=article&sid=1436 Yah, essentially, you want isapi_Rewrite
Hi, when you start placing something before the domain name e.e test.mydomain.com you start running into dns issues and will have to implement a wildcard dns and then capture the associated error and redirect. I did this with some asp.net code, let me know if your'e interested and I'll post it. If you are using ASP.NET the easiest way to do things is to transform something like www. mydomain.com?userid=mark to www. mydomain.com/mark do a google on vanity urls for an implementation It's been so long since I did anything in classic ASP but at a guess (And off the top of my head) you would probably have to capture the persons name (Catch 404 errors under MMC custom errors and redirect to an asp file). Then in that asp file parse the name from the url and then redirect to the appropriate page.. Hope this gets you started Cheers Markus