0

In some website i found that is it possible for me to programmatically create a subdomain to the website i own from C# WinForm application.

How can I create a subdomain on my website, given the server host, user and pass?

3
  • 5
    AppDomains have nothing to do with domain names. You need to configure IIS and DNS. Commented Jan 18, 2013 at 14:11
  • "In some website i found that is it possible for me to programmatically create a subdomain to the website i own from C# WinForm application." So you have the solution? Commented Jan 18, 2013 at 14:14
  • No, @SteveB they say that i need to use AppDomain.CreateDomain but according to SLaks, AppDomains it have nothing to do with domain name Commented Jan 18, 2013 at 14:16

1 Answer 1

1

I wrote a program to edit DNS records for a company with 30,000 domains and I used WMI to edit the records.

Your starting place is the DNS WMI Provider Samples and this article on editing DNS with WMI.

You can use WMI in a .NET application - although many samples out there are for Powershell etc.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.