Forum archive
More than one host on turnkey wordpress
Hi,
first I want to say how great turnkey wordpress is.
But I have a question. Is it possible to host more than one site on an vm ware with only one ip adress?
At the moment I have one wordpress website and one smarty website. How can I make them reachable at the same time ober one ip: 192.168.127.130 ?
Not online only in the Homenetwork.
Thank you for yoour advice and support
There are a number of ways to share an IP address. Some options require manual implementation (free DIY) and others will do it automatically (requires shared hosting type software...sometimes free, sometimes fee-based).
There are two potential scenarios:
1) Software requiring a web interface can co-exist compatibly in a single computer / VM
2) Software requiring a web interface cannot reasonably co-exist in a single computer / VM
The term compatibility extends to software compatibility (i.e. can their respective software operate on the same VM without side-effects) AND performance capability (i.e. are their resource requirements complimentary...best if they have peak resource needs at different times of the day).
In your case, since Smarty and Wordpress are both php-based they have a good chance of co-habiting the same VM though there is a small risk that an upgrade to the php version or debian packages to address an update in one (Wordpress or Smarty) could break the other.
I'm going to leave you with 3 options to consider:
Option 1a) Setup two Apache virtual servers manually (at command line or via Webmin interface)
See http://www.debian-administration.org/article/412/Hosting_multiple_websit...
Option 1b) Using a Turnkey LAMP appliance install Virtualmin
See http://www.webmin.com/virtualmin.html (NOTE: would probably need to de-install webmin first)
Option 1c) Use Turnkey Docker with two TKLX LAMP stack containers
See /blog/announcing-docker-builds
I will be interested to see what Liraz, Alon and Jeremy (and others) have to suggest.
Liraz...you might want to create a new post on this topic and give it your usually deep-dive Lirazation of the topic...would be of benefit to all your members...just following the classic rule of meetings...always volunteer someone who isn't in the room to do something :-)