Unlimited Subdomain add-on Issue

Discussion in 'Control Panel API' started by shafiq, May 27, 2012.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. i want to create subdomain through C# Coding.how can i do it?any sample or example code?
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

  3. Yes i read these and i know that these should be on the default or home page of my root application.Now the issue is how to activate it on server?
    i have activated unlimited subdomain addon here on this link
    https://my.discountasp.net/addons/
    now what i need to have more.?
    my application is already running
     
  4. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    Make sure the redirect page is the Default Document on top of the list. You can set the Default Document either through the Control Panel or IIS7 Manager.
     
  5. all is well but when i type for example
    contact.mydomain.com it give me error
    SERVER NOT FOUND
     
  6. I wanted to make it simplest.
    i write on Default.aspx page only this
    string subname = Request.ServerVariables["SERVER_NAME"].ToString();
    Response.Write(subname);
    Response.End();
    now when i type url like this citypage.mobi then it print citypage.mobi BUT when i type contact.citypage.mobi then it give me SERVER NOT FOUND ISSUE although i do have contact folder
     
  7. martino

    martino DiscountASP.NET Staff

    Your domain name: citypage.mobi is not using our name servers. This means that you are not using our DNS Servers.

    The A record for "contact.citypage.mobi" does not exist your current DNS server.

    To make things easyer for you. You might want to change your name servers to our name servers below. That way you will be using our DNS for your domain name.

    Contact your current registrar for your domain name and ask them how to change your name servers to the following name servers below:

    ns1.discountasp.net
    ns2.discountasp.net
    ns3.discountasp.net
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page