Click here to Skip to main content
15,943,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello..

I am developing a project in .net and vb.net, offering free web hosting with subdomain,
like Geocities and Tripod.

but i dont know that how to create subdomain programmatically by vb.net coding.

As the user will fill the member forms and will become the member , he will get a url like
http://subdomain.domain.com automatically,
i have no idea about subdomain creation dynamically , got my point
if you have any idea about subdomain creation programmatically in any language or having any general idea plz plz help me
Thanx in advance :)

Asif Ahmed
asif@webonretail.com
Posted

1 solution

Well, the first thing is to use a wildcard for your AName record that allows for you to manage your host headers programmatically and map *.domain.com to a specific IP. Then, you'll just need to develop the system to account for it using absolute URL references based on this subdomain.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900