Bonjour à tous,
J’ai un petit problème mental sur ce coup là ![]()
Si je fais :
XX.XX.XX.XX/cacti/
XX.XX.XX.XX/munin/
XX.XX.XX.XX/owncloud/
Tout est ok.
Maintenant je voudrais utiliser le nom de domaine, voici mes enregistrements :
Voici ma configuration DNS :
@ 10800 IN A XX.XX.XX.XX
cacti 10800 IN CNAME mondomaine.me.
google 10800 IN CNAME www.google.fr.
munin 10800 IN CNAME mondomaine.me.
owncloud 10800 IN CNAME mondomaine.me.
test 10800 IN CNAME test.mondomaine.me.
www 10800 IN CNAME mondomaine.me.
si je fais www.mondomaine.me c’est bon.
Maitenant pour le reste je suis un peu perdu ![]()
Je pense qu’il faut bien faire des CNAME, mais la maintenant, c’est bien j’ai fais des CNAME mais rien ne va répondre derrière.
Faut-il que je configure des Virtualhosts ou est ce purement au niveau de la configuration DNS ?
Voici ma configuration apache :
[code]root@DeB:/etc/apache2/sites-available# cat default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
#CONFIGURATION BAsIQUE
DocumentRoot /var/www
Options +FollowSymLinks
AllowOverride None
#CONFIGURATION DU REPERTOIRE RACINE
<Directory /var/www/>
Options -Indexes +FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
#CONFIGURATION DE CACTI EMPECHANT LE LISTAGE
<Directory /var/www/cacti/>
Options -Indexes -FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
#CONFIGURATION DE MUNIN
<Directory /var/cache/munin/www/>
Options -Indexes +FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
#CONFIGURATION DE OWNCLOUD
<Directory /var/www/owncloud/>
Options -Indexes +FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
root@DeB:/etc/apache2/sites-available#
[/code]
Merci ! 