Hello,
Does anyone know how do I create a subdomain using ASP?
I run my own server so I have the full access to it (if that is needed for the same)
Thanx
Jump to Postregular ASP or ASP.NET? (if the latter is it v1 or v2?)
is it windows servern 2003?
Jump to Posthttp://myserver.com/username is not a subdomain. thats a folder
regular ASP or ASP.NET? (if the latter is it v1 or v2?)
is it windows servern 2003?
Actually 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?
ok so how do i do that?
you can use path info or use rewriting for this address rewriting get you address like
http://myserver.com/userName
this address show to user but for IIS this Means to
http://myserver.com/default.aspx?userName=userName
this is very easy
path info get address like
http://myserver.com/default.aspx/userName
this is not Beautiful
for path info use
Request.PathInfo
for rewriting search in google
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.