I tried to add a site in a site collection but unfortunately it isn't working. SharePoint allows me to add a site, but when I want to check the created site, no site exists at all.
The procedures I followed are:
1- I created the web application with "servername:portnumber"
2- I created the web site with "servername:portnumber/sites/sitename"
How can I do that with PowerShell if it is not possible with admin?