Adding CNAME via C# code RRS feed

  • Question

  • Hi Team

    I have a requirement to add App Domain, IIS Site via C# code and configure the site accessible via internet.

    When I add a sub domain manually via 'Control Panel' (Plesk) of hosted environment, it works well.

    At the time of creating from c# code, everything works (like creation of App Pool, IIS site) but it is still inaccessible from internet. The reason I found that my code is not adding CNAME and A records  to DNS.

    Can anybody help me in how to create A record, CNAME, MX records via c# so that the subdomain gets accessible via internet?

    Waiting for the replies..



    Varun Sharma

    • Moved by Mike Feng Tuesday, April 23, 2013 3:12 PM
    Saturday, April 13, 2013 1:58 PM


All replies