[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Mutilpe Domains at 1 ip



Please excuse my lack of use with telnet all i use telnet for it opening
email and other stuff. I do not know any of the apache commands for doing
this could you give a sought of step by step guide.


-----Original Message-----
From: Steven Werby [mailto:steven-lists@xxxxxxxxxxxx]
Sent: 25 August 2000 17:25
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Mutilpe Domains at 1 ip


Douglas Spooner <Doug@xxxxxxxxxxxxxx> wrote:
> oops sorry I should rephrase my question (Sorry its friday evening doh) I
> mean i want to point mutiple Domains at one virtual site. Sorry for the
> confusion.

Then create the site as you normally would.  Create the DNS for all of the
domains.  Edit httpd.conf for that VirtualHost.  Easy way to find the line #
is
to do:

1. cat /etc/httpd/conf/httpd.conf | grep -n domain
2. note the line #
3. pico -w +LINE_NUMBER_HERE httpd.conf

Add the following lines below the existing ServerAlias line:

ServerAlias domain2.tld www.domain2.tld
ServerAlias domain3.tld www.domain3.tld

The restart Apache.  You can put multiple hosts per ServerAlias line or one
per
line - I do them as above b/c I like it organized that way.

--
Steven Werby {steven-lists@xxxxxxxxxxxx}



_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users