I am getting below warning in wordpress dashboard while setting up multisite. How can I configure wildcard domains?
Note: Using LocalWP
Warning! Wildcard DNS may not be configured correctly!
The installer attempted to contact a random hostname (13a416.testsite.local) on your domain.
This resulted in an error message: cURL error 28: Resolving timed out after 5518 milliseconds
To use a subdomain configuration, you must have a wildcard entry in your DNS.
This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.
You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.
etc/hosts
file contents
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
## Local by Flywheel - Start ##
::1 demo1.local #Local Site
127.0.0.1 demo1.local #Local Site
::1 www.demo1.local #Local Site
127.0.0.1 www.demo1.local #Local Site
::1 test-multisite.local #Local Site
127.0.0.1 test-multisite.local #Local Site
::1 www.test-multisite.local #Local Site
127.0.0.1 www.test-multisite.local #Local Site
::1 domain1.test-multisite.local #Local Site
127.0.0.1 domain1.test-multisite.local #Local Site
## Local by Flywheel - End ##