Can you describe your multisite setup? Are you using subdomain or subdirectory installation? If you’re using sub-domain, have done the necessary DNS changes (perhaps via hosts file) for these sub-domains to work?
If learnpress.localhost is a subsite address (that means you’re using sub-domain setup), you should be able to ping it in your Windows command prompt and get a reply. If this doesn’t work, you have DNS issues and you need to fix that first — WordPress has nothing to do with that.
Hello George, thanks a lot for your reply, yes I’m using sub-domain setup, and the sub-domain browsing error solved as you suggest througth adding DNS changes in the windows system hosts file, but now I’m facing another issue when trying to login to any subsite , which is: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” in the login window, and this happened in all brosers I tried although I checked & enabled cookies on all browsers, do you have any advice for this thanks,
I’m not very familiar with Windows and IIS, but on Linux servers, I’ve solved this cookie problem by adding the following to wp-config.php
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
See this StackOverflow Q&A: https://wordpress.stackexchange.com/questions/166181/cant-log-in-error-cookies-are-blocked-or-not-supported-by-your-browser-you
And this WordPress forum support thread: https://wordpress.org/support/topic/cookie-error-site-not-letting-me-log-in/
hello George, in my case the login issue solved by adding the the follwing to wp-config.php
define(‘ADMIN_COOKIE_PATH’, ‘/’);
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ”);
define(‘SITECOOKIEPATH’, ”);
thanks a lot for the help, best regards.
I’m glad I could be of help.
Have a good day… and good luck with your project!