Wordpress multisite DNS subdirectory


I have a wordpress website, let’s say and have installed Wordpress Multisite on my “Ubuntu WordPress on 18.04” droplet, using a subdirectory like so: I would like to become (I already bought it from Namecheap) . How can I achieve that?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, thanks for your answer.

I installed WordPress Multisite on (main) and created a subdirectory site like so: (main) – (second)

On DigitalOcean, I connected a new domain ( from Namecheap like so:

– A RECORD, @, IP of – A RECORD, www, IP of

On Namecheap, I connected the DNS like so: (and ns2 and ns3).

I went to Dashboard > Sites >, and changed to this:

Site Address (URL):

When I go to, it only redirects to, not even to

How can achieve this: becomes (complete “replacement”, not just a redirection)

I hope this helps more. Thanks again!!

Hi @worldwade,

You’ll need to do an internal transfer between your domains. Basically, WordPress stores your domain - in your database, you’ll need to find every occurrence and change it to I believe there are some plugins that can help you achieve that.

After a quick search I found the following plugin that I believe can help you achieve that : Velvet blues update urls. Please note that I haven’t used this plugin and it would be best to create a backup prior to beginning this operation.

If you don’t want to use a plugin but do it manually, a quick search for ‘WordPress change domain name’ in Google should help you find some relevant articles. They are quite long and that’s why I’m not quoting them here.

Regards, KFSys