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:

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

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

As the user will fill the member forms and will become the member , he will get a url like 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

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 * 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