Multisite with CP with multiple domains

Hello,

I am trying to create a multisite setup with CP. I want to use multiple separate domains with this setup but I am running into issues setting it up.

I am using LAMP stack and following the steps listed here - Create A Network – Advanced Administration Handbook | Developer.WordPress.org

However, although the network admin shows that the subsite is created, I 404 get accessing it. e.g. the main site at abc.com works but when I try to go to demo.abc.com, I get 404.

How do I verify that the subsite is getting created successfully?
Does the folder structure in /var/www/ change after I create a subsite? "I do not see any changes there.

if you followed the Create a Network from beginning to end without any issues, then you need to make sure to add sub domains to your hosts file if the LAMP stack is local, if not then u need to create dns records for your sub domains as well.

1 Like

Thanks for the reply. This ended up being an issue with my Apache config file. I expected creating a site from the UI will automatically add an entry there but it didn’t. Once I added it, things started working.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.