WordPress Multisite Networks and Wildcard Sub-Domains

There is a lot of confusion over how to correctly setup WordPress Multisite Networks, not least with getting them configured correctly using wildcard sub-domains.

What is a Wildcard sub-domain?

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.

Provider Dependent

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.

General Rule

The general rule is to setup 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


CPanel

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.

What if my name servers are pointing elsewhere?

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 on CPanel and you should be good to go!

cpanel, dns, enom, multisite, networks, wildcard, wordpress

Manchester

Beehive Lofts
Beehive Mill
Manchester
M4 6JG

Bradford

re:Center
Richmond Road
Bradford
BD7 1DP

Bristol

Coworking Spaces
Coffee Shops
Bristol
Br1 1AA

Request an Information Pack

Raise a support ticket

Request a call-back

Just leave your name and number and we'll get back to you as soon as we can.

Contact us

How can we help?

Copyright © Spotlight Studios
Powered By Spotlight Servers

Spotlight Studios Ltd, re:Center, Richmond Road, Bradford, BD7 1DP
Registered in England and Wales.
Company Number: 07829328
VAT Number: GB131434942