satimis
February 5th, 2008, 11:09 AM
Hi folks,
VMWare Server
Bridged connection
Ubuntu 7.04 server amd64 (Host)
Apache/2.2.3
LAN IP 192.168.0.10
CentOS 5 x86_64 (Guest)
Apache
LAN IP 192.168.0.20
Router
All www ports, 80, 443 and 8080 are connected to Ubuntu
No port forwarded to CentOS
Domain
domain1.com - pointing to Ubuntu
domain2.com - pointing to CentOS
Can any folk advise me where can I find a tutorial to setup vhosts, name-base, on Ubuntu? Google search brought me;
http://gentoo-wiki.com/HOWTO_Apache_VirtualHost_by_IP_Address
which, I think, can be modified for my use. But I can't find /etc/apache2/conf/vhosts/vhosts.conf. Whether I have to create it together with the directories above /conf/vhosts/vhosts.conf. OR their file structure is different to Ubuntu. Advice would be appreciated. TIA
B.R.
satimis
VMWare Server
Bridged connection
Ubuntu 7.04 server amd64 (Host)
Apache/2.2.3
LAN IP 192.168.0.10
CentOS 5 x86_64 (Guest)
Apache
LAN IP 192.168.0.20
Router
All www ports, 80, 443 and 8080 are connected to Ubuntu
No port forwarded to CentOS
Domain
domain1.com - pointing to Ubuntu
domain2.com - pointing to CentOS
Can any folk advise me where can I find a tutorial to setup vhosts, name-base, on Ubuntu? Google search brought me;
http://gentoo-wiki.com/HOWTO_Apache_VirtualHost_by_IP_Address
which, I think, can be modified for my use. But I can't find /etc/apache2/conf/vhosts/vhosts.conf. Whether I have to create it together with the directories above /conf/vhosts/vhosts.conf. OR their file structure is different to Ubuntu. Advice would be appreciated. TIA
B.R.
satimis