setting up multiple websites on Apache.

Hello,

I am currently running SUSE 11.1 and have Apache installed.

How can i host my websites on it? Here are the DNS i registered on dyndns.org

liverpool.homelinux.net
skelmersdale.homelinux.net

I have my static IP and port 80 open on router and firewall.

I have managed to get one website working but when i add a second it gets redirected to my first one.

Thank you

Ryan.

RyRobbo wrote:
> How can i host my websites on it? Here are the DNS i registered on
> dyndns.org

Set up your virtual hosts correctly. Start in /etc/apache2/vhosts.d by
copying vhost.template to foohost.conf and adjusting it.

http://en.opensuse.org/Apache_Quickstart_HOWTO
http://en.opensuse.org/Howto_apache_virtual_hosts

Kind regards,
Andreas Stieger

Here’s a tutorial on setting up Apache in Suse with discussion of Virtual Hosts:
HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot