612-293-8629 [email protected]

I ran into an issue on Hostgator today whereby I could not get my sub-domains working in a fresh WordPress multi-site installation.

mydomain.com was working fine, but subsite.mydomain.com was displaying the default Hostgator page.

The issue was that my wildcard sub-domain was pointing to the “/public_html” document root. When I changed that to “/public_html/mydomain.com” everything worked fine.

How to make wildcard domains work with WordPress multi-site on Hostgator

(click image to enlarge) How to make wildcard domains work with WordPress multi-site on Hostgator

I hope this post saves someone in this world from a headache! 🙂

Thanks, Shawn!

PHONE, EMAIL, TEXT

We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.

LOCATIONS

PAYMENTS ACCEPTED

Call Now

Enroll in Our Free Beginner WordPress Class by Email

Never feel powerless in WordPress again!  Become a WordPress superstar for free in only minutes a day!

Our Beginner WordPress Email Class is delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!