Skip to main content

Thread: Local network, multiple websites on ubuntu server box


hey guys, reading.

installed ubuntu server on spare pc had laying around, in hopes of using develop/test sites more across multiple computers in house (switching mac, macbook, , windows machines--darn ie testing)

got server , running, , can access across machines using http://192.168.1.137/

now, question how host multiple sites on box, , dedicate nice url names each (i'm fine having configure on each machine)

direction welcome, again!

hi,

need add virtual hosts /etc/apache2/apache2.conf

code:
    <virtualhost *>      servername xxxx      serveradmin xxx      documentroot "/data/apache/clan-faog/htdocs"      directoryindex index.html index.htm index.php      errorlog "/data/apache/clan-faog/logs/error.log"      customlog "/data/apache/clan-faog/logs/access.log" combined      customlog "/data/apache/clan-faog/logs/deflate.log" deflate      scriptalias "/cgi-bin" "/data/apache/clan-faog/cgi-bin/"      </virtualhost>
apache use host name supplied client (http://host-one, http://host-two)

regards
ian dobson


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Local network, multiple websites on ubuntu server box


Ubuntu

Comments