Question

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

Posted October 20, 2016 3.5k views
WordPressOne-Click Install AppsUbuntu 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.

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.

×
2 answers

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.

Submit an Answer