How to Create a site at the specified URL and new database (CommandLine Operation)

stsadm.exe -o createsiteinnewdb -url <url>
-ownerlogin <DOMAIN\username> -owneremail <someone@email.com>
-databasename <databasename>
-------------------------------------------------------------------------------------------
The above comand-line script is useful to build a new site and a new content database for it.
You can follow the below procedures to check SharePoint server's content database list.
1. Click on <Site  Settings> on the right-upper corner of intranet page;
2. Click on <Go to SharePoint Portal Server central administration> under General Settings section;
3. Click on <Configure virtual server settings from the Virtual Server List Page> under Portal Site and Virtual Server Configuration;
4. In General, click on <Default Web  Site>. However, you may need select other virtual server name on your situation;
5. Click on <Manage content databases> under Virtual Server Management section;
Then you can see a following content.

In addition, you can use <Configure connection to portal site> function under Top-level Site Administration page to connect your web site to a portal site.
原文地址:https://www.cnblogs.com/rickie/p/23959.html