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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Check out <a href=“http://premium.wpmudev.org/blog/how-to-redirect-nonexistent-blogs-in-wordpress-multisite/”>How To Redirect Nonexistent Blogs in WordPress Multisite</a>.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.