How can I enable sub-domain multisite? – Wordpress one-click install app

October 20, 2016 2.9k views
WordPress One-Click Install Apps Ubuntu 16.04

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.

2 Answers
parsons October 24, 2016
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).

by Etel Sverdlov
In 2010, WordPress released version 3.0 of its popular content management platform. Among the many improvements included in the release, the WordPress community combined WordPress MU into the main WordPress configuration. Since the change, WordPress has made it easier to create multiple WordPress sites on one server.
  • Yeah I looked through both of those, along with a bundle of other tutorials and forums.

    The only thing I haven’t tried is doing it outside of the Wordpress one-click install (i.e. manually install wordpress), but I really don’t see how it would make a difference.

    • Update: I now have tried it outside of the one-click install, and as I thought, it made no difference.

Have another answer? Share your knowledge.