Wordpress Mu Shared Hosting HostGator Wildcard Domains
It actually really is very easy to set up Wordpress Mu on HostGator Shared Hosting (I have Baby Croc).
I believe all HostGator accounts come with CPanel X3 by default.
So, the steps are:
1. Download Wordpress Mu
2. Upload to public html domain you wish to use
3. Create Mysql database and user w/ full rights
4. Run the installer script by going to the homepage with your browser
5. Setup wildcard domains -- this is the one that had me stumped.
To set up the wildcard domains, select "Subdomains" from Cpanel -- not "Add on domains". For your site, put an an * in the form field and then select the shared website from the drop down box. In the other text field, point it to public_html/domain (or whatever folder you have your wordpress files in). It does take a minute or two to take effect in my experience, so I thought I'd messed it up at first, but it really does work!
That's all there is to it.
Comment with questions and I'll help you out.


However I am not trying WP MU for the shared domain,
but i found my self the problem and i now rectified it.
Thanks for sharing ( but thanks is not a word )
Thanks, It worked for me. I am using hostgator shared hosting.
1.Enable *. subdomain
2.Enable *. in your dns. [just create A record pointing to your shared hosting ip * as hoatname]
I don't suppose to can give more details to your second step.
Creating a record in my DNS with "hostname" as the name and my shared ip as the ip address. Should the * should up anywhere in the IP to show that it's a wildcard?
Brilliant advice. Worked a treat for me. Thanks
Thanks, I got stuck on the exact same part.
I wish I had found this page before I wasted 2 hours installing/uninstalling MU. Thanks!
I feel really stupid.I can't get past step 4. I am tryng to install to themdigits.com on hostgator.
the install "wprks", but when I try to log in I get this error:
"Fatal Error
If your blog does not display, please contact the owner of this site.
If you are the owner of this site please check that MySQL is running properly and all tables are error free.
Database Tables Missing.
Database tables are missing. This means that MySQL is either not running, WPMU was not installed properly, or someone deleted wp_site. You really should look at your database now.
What do I do now?
Read the bug report page. Some of the guidelines there may help you figure out what went wrong.
If you're still stuck with this message, then check that your database contains the following tables:
wp_blogs
wp_users
wp_usermeta
wp_site
wp_sitemeta
wp_sitecategories
If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!"
The tables are fine, but I'm stuck and can't find any help.
Hi hello, I'm using hosting service with baby account. I'm trying to install wp-mu on my add-on domain, but I have weird problem. In the first installation, the wp-mu need to create wp-config.php file "There doesn't seem to be a wp-config.php file. I need this before we can get started." , but when I press the create configuration button it's nothing happen. The page is always loop.
I have try to change the file permission to 777 and this return error 500 (cause the hostgator php environment do not permit 777).
Any idea about my problem?
please help
I don't understand. Is there a wp-config.php file created when it "loops"? There must be some file generated if you're trying to change the permissions I assume. If so, is it filling in your database, password, etc correctly?
I have try this on my other webserver and the installation running well.
There's no wp-config file created when it loops.
The normal step is, when we press create config file, we will be redirected to a database form. But it just loop.
I've try make wp-config file manually, with correct database,user, and password, but still doesn't work.
take a look http://testmu.layoutfriendster.info/
Well, if there was no file created then I'm not sure where you were changing the permissions?
Anyhow, from the link you sent it looks like you've gotten it up and running, so congrats! Please let us know what the problem and solution was if you get a chance.
Forget my last comment dude, it's all working great now :-)
Hi,
I'm running into exactly the same issue, could you let me know what you did to get past the "create wp-config" without anything being created?
e.g. did you do wp-config manually?
thanks!
Excellent!
Hi Pitumbo, this has been a really helpful post.
I'm on Hostgator shared hosting (Baby Croc) too and have followed through with your instructions. However step 5 has me stumped this time :-)
My plan is to setup the wordpress mu on a subdirectory of one of my domains. For example "domain.com/page1"
I've got a fair few domains already hosted so when I go "subdomains" in Cpanel - I put an * in the first field followed by selecting the domain I'm trying to create a subdomain for: "public_html/domain.com". However, would I put ""public_html/domain.com" or "public_html/domain.com/page1"
Tried both ways and gave it some time to work but still not having much luck. Any ideas man?
Thanks, Ant
Hi Ant,
So you're saying you want the WP blogs to show as domain.com/blog1/your-post-here.html rather than blog1.domain.com/your-post-here.html?
I'm a bit confused by your "domain.com/page1" example -- in that example page1 is the name of the folder where you want to install WPMU? So you'll have domain.com/page1/blog1 , domain.com/page1/blog2, etc ?
I should have clarified in my original post that this setup was for blog.domain.com (subdomain) setups and not domain.com/blog (subdirectories). In the second case you shouldn't need a wildcard at all. Personally, I think subdomains look a lot better than subdirectories and there are fewer technical issues (once you get it up and running).
http://mu.wordpress.org/forums/topic.php?id=7283&page&replies=10
Sorry if my instructions led you astray -- try it without the wildcards per the WPMU install instructions and it should work.
Hi there. So... in setting up the wildcard domain ... I placed an * where needed. Used the drop-down to choose the domain and the next field it says Document root: public_html/
I did not add anything after public_html because I installed WPMU there. Is that correct? Or am I supposed to put public_html/domain even if WPMU is installed in the public_html root and not in a folder?
Thanks!
No problem...this brief guide was written under the assumption that you would have multiple domains on the shared server.
If you only have one domain, and that one domain is running wpmu, then you should be golden. Try it and see, and if you hit a snag then report back and we'll troubleshoot :)