Can’t create a subdomain network – and WP is installed in webroot, not a folder

You need to have domain name resolution in order for subdomain Multisite to work. If you don’t have a Domain Name Server, you can modify your computer (not your server) hosts file.

Then, make sure your primary WordPress installation is set to a domain name, such as server.example, and not an IP address.