TurnKey Linux Virtual Appliance Library

lamp appliance getting started

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 no-ip.com 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 127.0.1.1 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's picture

Not sure about phpMyAdmin...

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).

TYVM :)

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:

http://worksofcraft.freewebhost.co.nz/server/server.htm

note I also  copied it to

http://piedpiper.site40.net/server/server.htm

because sometimes I can't connect

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)