Support » Networking WordPress » Multisite in hostgator error? how to setup ?

  • Resolved Dinh Tv

    (@trungdinh)


    Hi.

    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    What’s not running? What do you see when you go to site.mydomain.com?

    The warning you quoted said this: You can still use your site but any subdomain you create may not be accessible.

    So if that’s the problem, you have to either make a wildcard DNS entry on your server, or manually make a subdomain.

    Hi Ipstenu

    my test site is: vietan.tk
    you can see subdomain is: site1.vietan.tk
    i’m go to url wp-admin is: 404 site.

    How to fix is.

    Thanks

    you can see subdomain is: site1.vietan.tk

    Have you created this site in the WordPress network? In the Network Admin dashboard go to Sites –> Add New.

    Hi Patrick,

    I’ve created site : site1.vietan.tk in Network Admin but is not running to WordPress site. site1.vietan.tk/wp-admin is page 404 ๐Ÿ™

    how to check my error.

    Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Bump deleted. Please be more patient. You’re getting help from volunteers, here. If it’s a crisis, you should hire someone.

    Remember how I asked this?

    What do you see when you go to site.mydomain.com?

    I didn’t ask about the wp-admin for a reason. site1.vietan.tk goes to a HostGator page – NOT a WordPress page. You need to set up the subdomains properly on your cPanel.

    How to Set Up Wildcard Domains on Hostgator for WordPress Multi-Site

    oh men.
    thanks Ipstenu. it’s my error. i’m setup is: /public_html not /public_html/mydomain.com. I have overcome.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multisite in hostgator error? how to setup ?’ is closed to new replies.