By parsons
When trying to enable multi-site, I’m being forced to use a sub-directory multi-site rather than the sub-domain multi-site that I need.
This is the “reason” I’m receiving: Because your install is in a directory, the sites in your WordPress network must use sub-directories.
I’ve tried moving it out of the default location /var/www/html to just about every other place imaginable and yet I keep having this issue – meanwhile in my local dev environment, I explicitly have wordpress in a wp folder without any issues.
Please help – I’ve wasted my whole morning on this so far.
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!
Accepted Answer
To anyone else who may have this issue in the future, the solution is you need to have a domain assigned to the droplet.
You can’t enable a sub-domain multisite without a domain (i.e. just the ip address).
@parsons hello, have tried following these 2 tutorials?
How To Set Up Multiple WordPress Sites Using Multisite - Apache
How To Set Up WordPress Multisite with Nginx on Ubuntu 14.04 - Nginx
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.