There is a lot of confusion over how to correctly set up WordPress Multisite Networks, not least with getting them configured correctly using wildcard subdomains.
A wildcard allows for a subdomain of any name without having to specify each one, this is particularly useful for a WordPress Multisite Network – you can allow users to create their own sites on subdomains without worrying about changing the DNS / Host settings in your control panel.
Unfortunately, not all hosting providers support Wildcard’s so you may need to check this first before you continue – but most of the big boys- -Enom, Reg123 etc do.
The general rule is to set up a record that points to your server IP using an asterisk ( * ) instead of a name.
For example, your Host record might be:
* A 1.2.3.4
A common mistake in CPanel is to change the host record as above. CPanel requires a slightly different approach – you must create a new subdomain using an asterisk ( * ).
* .example.com
Note that if you already have a wildcard A record on your CPanel, this will cause errors and must be removed in order for you to create a wildcard subdomain.
If your name servers are not pointing to your server and are being managed elsewhere, at Enom for example then you can simply combine these two techniques. Ensure that you have created a wildcard A record on your Providers’ DNS and also ensure that you create a wildcard subdomain in CPanel and you should be good to go!
Something the article peaked your interest? We’re never more than a contact form or a quick call away so please don’t hesitate to get in touch!
Spotlight Studios Ltd, Beehive Lofts, Beehive Mill, Jersey Street, Manchester, M4 6JG
Registered in England and Wales · Company Number: 07829328 · VAT Number: GB131434942
This tool is for clients who are using a CDN with our Managed Web Hosting and Application Hosting Plans and / or Webmaster Clients.
If you are in any doubt, or you would like to add this functionality to your website, please get in touch.