Community Documentation

How to get switch by hostname working

Last updated November 6, 2012. Created by Roberto Gerola on January 22, 2007.
Edited by frederickjh. Log in to edit this page.

You have to set the correct options under admin/settings,
activating the hostname switch and inserting the hostnames
for each language that you want to use.

Then you have to register in your DNS server the correct entries
and then set up a multisite installation of you Drupal.
This involves an webserver configuration through virtual hosts,
but also a configuration under the sites directory of Drupal.

Page status

About this page

Drupal version
Drupal 5.x

Archive

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.