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

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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).