lamp appliance getting started

Perduta's picture

I want to add some websites to my Turnkey lamp appliance so I made a file for each in /etc/apache2/sites-available containing NameVirtualHost and ServerNames that I set up with however I get some kind of conflict with phpmyadmin. The error is as follows:


apache2: Could not reliably determine the server's fully qualified domain name, using for ServerName
[error] VirtualHost *:12322 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
If I dissable phpmyadmin and the default it all works but I really would like to keep phpmyadmin available too without having to register a domain name for it. Is there any way to do this please?
oh... also just wondering if there is a facility to upload files to the lamp stack over the internet rather than with shared drives?
Thanks in advance :)
Jeremy Davis's picture

But perhaps to get this to work you need to assign a domain to phpMyAdmin (rather than just *:12322). I don't know but that's my reading of the error message.

And by default you can use SFTP to connect to the server. If it were me I would create a new user that is a member of the www-data group and set their home to the /var/www directory (assuming that your sites are sub-directories of that folder). Then you can log in with that user and your FTP client will go straight where you want to be and you shouldn't have issues with file ownership (but you can connect as root too if you want).

Perduta's picture

Thanks that was really useful and I found a nice SFTP client to run on my Windows workstation.

It all seems to be working now to my amazement because it's still a bit of mystery to me but I wrote a summary for other newbies who want to get started too:

note I also  copied it to

because sometimes I can't connect

Post new comment