How can we create a site in Portal Server? SPWeb mySite = SPControl.GetContextWeb(Context); SPWebCollection subSites = mySite.Webs; string currentTemplate = mySite.WebTemplate; string siteUrl = TextBox1.Text.ToString(); //you can use hard coded path here string siteTitle = TextBox2.Text.ToString(); ...