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?

J. Steen
  • 15,470
  • 15
  • 56
  • 63
Rafik Bari
  • 4,867
  • 18
  • 73
  • 123
  • 5
    AppDomains have _nothing_ to do with domain names. You need to configure IIS and DNS. – SLaks Jan 18 '13 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? – Steve B Jan 18 '13 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 – Rafik Bari Jan 18 '13 at 14:16

1 Answers1

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.

Fenton
  • 241,084
  • 71
  • 387
  • 401