PDA

View Full Version : ispconfig appliance - 2 questions


Danielss89
18th June 2007, 17:35
Hi

Ive just installed the ISPconfig Vmware appliance, and i have 2 questions.

How do i change the password for the user root for mysql?

I now i can create domains in the ispconfig controlcenter.

But what if i want zzz.domain.tld to point to the folder /var/www/myfolder or another folder.. can i edit the /etc/apache2/sites-available or will the fuck up ISPconfig :P

How do i do that?

till
19th June 2007, 10:34
How do i change the password for the user root for mysql?


You can do this with the "mysqladmin" command:

mysqladmin -u root -p password yourrootsqlpassword

"yourrootsqlpassword" is the new mysql password. The command then asks you for the current mysql password which is ispconfig if I remember correctly.

Afterwards you will have to change the mysql password in the file /home/admispconfig/ispconfig/lib/config.inc.php

But what if i want zzz.domain.tld to point to the folder /var/www/myfolder or another folder.. can i edit the /etc/apache2/sites-available or will the fuck up ISPconfig :P

ISPConfig uses its own folder namimng scheme, you can not change this without programming. Instead of pinting a vhosts to abother location, you should copy the contents of the website to the direcory that ISPConfig created for the website or symlink it.