i'm setup Multisite in hostgator follow the steps:
- In Cpanel: create subdomain: *.mydomain.com
- Add code in wp-config.php: define('WP_ALLOW_MULTISITE', true);
- In Wp-admin : Display all plugin
- Go to Tools » Network Install is error:
Warning! Wildcard DNS may not be configured correctly! The installer attempted to contact a random hostname (559093.www.mydomain.com) on your domain. This resulted in an error message: Couldn't resolve host '559093.www.mydomain.com' 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.
Next: i'm add 2 code to wp-config.php and .htaccess
Now i'm create sub domain site.mydomain.com but not running.
How to fix it's.
Thanks so much!