WordPress multisite and subdomains
-
Hi, I am on Windows 7 64bit and I am testing a WordPress multisite installation. When I create a new site as a subdomain from the WordPress network admin in the form of testsite.multisite.test and set the appropriate entry in the hosts file (127.0.0.1 testsite.domain.test) the subdomain redirects to a Laragon home page screen. Am I doing anything wrong?
-
@quantumleap33 : What web server are you using? (Nginx, Apache)
If you are using Nginx, please also check the auto generated virtual host in Menu > Nginx > sites-enabled
-
I am using Apache and I have auto virtual hosts enabled. I tried activating the Nginx server and disable the Apache one but I get an error "Service Nginx can not start. Reason: ngix: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32". Sorry, I am a bit new to Laragon!
-
@quantumleap33 : For server_name_hash_bucket_size you can check how to fix in this post:
https://forum.laragon.org/topic/379/how-to-use-application-on-different-computer-locally-connected/10
-
Hi @leokhoa
can you make a tutorial for installing WordPress Multisite on Laragon?
I'm using Apache, and I have setup my WordPress Multisite, it's working on the WordPress side. when I'm accessing subsite.mysite.com, it's redirecting me to ISP Provider that says web not found.What configuration do I need to change on Apache conf or maybe if I also use Nginx.
Thank You.
-
I agree with pramanadiputra. I get the exact same thing.
Currently it is unclear how to setup multisite and what settings to use from the server side of things, as far as WordPress is concerned, everything seems to be working fine.