Open Source Content Management Framework

Create a Website

  1. Create New Website localhost
  2. Change website ownership
  3. Add the Apache VirtualHost
  4. See it in the browser

Multiple Websites are supported in Midgard CMS. Websites can only be created by System Administrators, so first of all you must login to Aegir as a System Administrator.

Create New Website localhost

  • Open the Websites tab in the left menu.
  • Click on the New Website button under the tab.
  • In the Create New Website window as shown below, type in the name of the new website "localhost", leave Prefix blank, and select the company "Test Ltd" from the pull down list to add the website.

Note: the From Template is an option for creating the new website based on the templates of existing websites. This will create the basic structure of a website for you based on an existing Midgard site.

There is a very useful Template available in Midgard CMS called "MidCOM site template". If you're planning to use MidCOM for constructing your site it is strongly recommended to use the MidCOM template when creating new websites.

  • Press Submit to create

Change website ownership

Website can only be modified by its owner group. It will be read only, indicated by (RO), to all other groups.

Here we will assign the group "test.local.net owner" created from the previous chapter to be the owner of test.local.net.

  • Click on the website name from the left menu
  • Click on the Details tab from the right screen to display the Website Information window as below
  • Change the Owner to "test.local.net owner"
  • Press Submit to update.

Add the Apache VirtualHost

If your new host is running under a hostname or port that is not already set up in Apache to be used with Midgard, you need to run the datagard application to create the VirtualHost.

See it in the browser

Go to URL http://localhost/ to see the default Root page on the server.

NOTE

  • The default root page is "localhost Root page".
  • If you created your website using the "MidCOM site template", the site will now request you to initialize it

* Click the "System initialization" link
* Log in as the Company Administrator user (test_admin / password)  

* Click on the "Initialize" button until every category shows OK

* This will create the base content structure for your MidCOM site

If name of the new website localhost appears twice in the left menu in Bold and Italic styles, it indicates that the staging and the live database of the website respectively, and that test.local.net/attachment is have been created automatically by Aegir CMS. This is for attachment file handling of the website, e.g. images, PDF files, etc.

Designed by Nemein, hosted by Anykey