...
Tip |
---|
Start with a Tomcat bundle of your choice, for a selection of bundles see list of preconfigured Magnolia bundles. If you want to test multisite scenarios, choose an EE pro bundle (such as If want to get rid of the demo modules to start with a virginal vanilla multisite module - remove the appropriate modules before you start the bundle for the first time. (On magnolia-enterprise-pro-demo-bundle delete the modules starting with magnolia-travel* from the folder Before following the steps explained below, start the bundle as usual, to make sure both webapps magnoliaAuthor and magnoliaPublic are installed and work properly. |
...
Table of Contents |
---|
Domains and /etc/hosts
This is an overview of the the multisite setup:
...
author instance | public instance | |
---|---|---|
comics | author.best-comics.net | www.best-comics.net |
vinyl | author.best-comics.net | www.best-vinyl.net |
...
- Lines 3-4:
author.best-comics.net
redirects to localhost on port 8080
=> webapp magnoliaAuthorauthor instance - Lines 9-10, 15-16:
www.best-comics.net
andwww.best-vinyl.net
are redirected to localhost on port 8081
=> => webapp magnoliaPublicpublic instance - The lines configuring the log files of the virtual hosts have been removed to keep this configuration excerpt small.
...
- Create the folder
webapps2
. - Move the webapp
magnoliaPublic
towebapps2
. - You may want delete the webapp
ROOT
, you won't be able to access it anymore.
...
server.xml
This is the server.xml
:
...
Advanced Tables - Table Plus | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
|
...
If you have all done correctly - you can access the Magnolia instance by the following URLs
author instance | |
---|---|
author.best-comics.net | via Apache and AJP connector |
author.best-comics.net:8080 | via Tomcat and HTTP connector |
localhost:8080 | |
public instance | |
www.best-comics.net | via Apache and AJP connector |
www.best-comics.net:8081 | via Tomcat and HTTP connector |
www.best-vinyl.net | via Apache and AJP connector |
www.best-vinyl.net:8081 | via Tomcat and HTTP connector |
localhost:8081 |