<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Configurar_un_servidor_virutal_amb_l%27Apache</id>
	<title>Configurar un servidor virutal amb l'Apache - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Configurar_un_servidor_virutal_amb_l%27Apache"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Configurar_un_servidor_virutal_amb_l%27Apache&amp;action=history"/>
	<updated>2026-04-20T15:07:01Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Configurar_un_servidor_virutal_amb_l%27Apache&amp;diff=1603&amp;oldid=prev</id>
		<title>Joan a 14:00, 3 feb 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Configurar_un_servidor_virutal_amb_l%27Apache&amp;diff=1603&amp;oldid=prev"/>
		<updated>2009-02-03T14:00:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;http://httpd.apache.org/docs/2.0/vhosts/examples.html&lt;br /&gt;
&lt;br /&gt;
20-01-2009&lt;br /&gt;
&lt;br /&gt;
he afegit un nou domini a dyndns.org: '''joanillo.dyndns.org'''&lt;br /&gt;
&lt;br /&gt;
afegeixo la línia joanillo.dyndns.org al fitxer /etc/ddclient.conf, reinicio el servei, i ara ja em puc connectar a:&lt;br /&gt;
&lt;br /&gt;
http://joanillo.dyndns.org, que em redirigeix a:&lt;br /&gt;
&lt;br /&gt;
http://joanillo.dyndns.org/wiki/index.php/P%C3%A0gina_principal&lt;br /&gt;
&lt;br /&gt;
igual que ho fa el http://wikijoan.dyndns.org&lt;br /&gt;
&lt;br /&gt;
Tinc dos dominis dyndns que apunten al mateix lloc.&lt;br /&gt;
&lt;br /&gt;
Ara he d'aconseguir que apuntin a llocs diferents dins del mateix Apache. Això es fa configurant un servidor virtual.&lt;br /&gt;
&lt;br /&gt;
dins de /etc/apache2/sites-enabled:&lt;br /&gt;
 sudo cp 060-terra 060-joanillo &lt;br /&gt;
i modifico 060-joanillo per tal que apunti al blog:&lt;br /&gt;
&lt;br /&gt;
 ServerName http://joanillo.dyndns.org&lt;br /&gt;
 DocumentRoot /home/joan/blog&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
i funciona perfectament. Ara tinc dos dominis de dyndns.org que apunten al meu servidor Apache, però a sites diferents dins l'Apache:&lt;br /&gt;
*http://wikijoan.dyndns.org que apunta a /home/joan/wiki&lt;br /&gt;
*http://joanillo.dyndns.org que apunta a /home/joan/blog&lt;br /&gt;
No he hagut de tocar res del router.&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, setembre 2008&lt;br /&gt;
[[Categoria: Apache]]&lt;br /&gt;
[[Categoria: Linux]]&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>