Question

Specify Wordpress Subdomains

Posted December 16, 2013 2.7k views
Hi, I've got a multi-site wordpress setup working well. Currently I have http://mydomain.com http://site1.mydomain.com http://site2.mydomain.com This works well. But my DNS is setup as a wildcard DNS - so if someone tries to visit site3.mydomain.com - it takes them to the wordpress registration page (which is disabled). I want it to throw a 404 instead. So I tried to remove the wildcard DNS, and specify an A record for each site - but now it just takes me to the home page. Any idea how I can do this correctly?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
Submit an Answer