

Remember if you add more multisite you'll need to update your host file with the new ones. You should now be able to visit both and without any problems (apart from the normal security error in Chrome).

Now all what is left to do is to restart Apache in AMPPS. Start the Apache service and make it to start automatically on every reboot.
AMPPS SETUP INSTALL
To install Apache, enter the following command in your terminal: yum install httpd -y. The following commands should be run with root user privileges. If you enabled ssl for the subdomain at the start then you'll also need to amend the SSL VirtualHost, AMPPS normally places this below the entry you've just amended. It provides a full range of web server features including CGI, SSL and virtual domains. Locate the VirtualHost entry which AMPPS has added for, find the line which reads ServerAlias Īnd add a wildcard subdomain to it like so. I guess on a Windows machine this will be located within the programs directory. Under this add all the subdomains which you wish to have eg: 127.0.0.1 Then open up your host file, on a Mac it is located in.ĪMPPS will have added an entry which looks like this. You can, if you wish, add all of your networked sites at this point, but they will not be accessible. Although AMPPS is easy to install and setup a Drupal codebase, it doesnt come with out-of-the-box command line utilities. Follow the instructions that WordPress gives you. Next set up your WordPress Network to run in subdomain mode. In AMPPS set up the subdomain, remember to enable SSL if the public site runs over https. dev I tend to set up all my local sites on a subdomain, eg: if the public site is I would use. Note: Since Chrome no longer plays with domains ending. On a Mac this is pretty easy to do, I believe it should be the same on a PC (more or less). UPDATE: It's working now and I don't know how. There must be a way to do this, right? Whatever configuration this is here I'm pretty sure this was how it was when I was able to run to activate a subsite registration for, which now loads a blank page 200 OK rather than an error. Options FollowSymLinks Indexes Includes ExecCGIĮrrorLog "C:/Program Files (x86)/Ampps/apache/logs/CustomLog "C:/Program Files (x86)/Ampps/apache/logs/combined ScriptAlias /cgi-bin/ "c:/program files (x86)/ampps/www/v/cgi-bin/" I set up the site network to use subdomains locally (on Windows 10 AMPPS) and my hosts file has: 127.0.0.1 localhostĬ:\Program Files (x86)\Ampps\apache\conf\extra\nf: # VirtualHost #ĭocumentRoot "c:/program files (x86)/ampps/www/v"
