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

Re: [cobalt-users] [Raq3] "Secondary" domains/accounts



At 9:33 AM -0700 8/30/00, WebWorkshop wrote:
I think editing the httpd.conf is definitely better than adding another
virtual site with an HTML redirect. It works a lot faster than an HTML
redirect, it doesn't goof up a browser's history list, and it's less clutter
in your server management page. Plus, once you get the hang of it, it's even
quicker to implement than adding a virtual site with an HTML redirect page.
(To be safe, make sure you back up your httpd.conf file before you try it.)

	Could you or Donna walk me through the syntax for doing this?

	Here are my real domain names:

SunlightSupply.com	(primary site with files)

SunlightSupply.net		(secondary - no site files)
SunlightSupply.org			"
SunlightSupplyInc.com		"
SunlightingSupply.com		"
SunlightingSupplyInc.com		"

Based on the remarks, below, I'd guess that I should use the following adds:

ServerAlias sunlightsupply.net www.sunlightsupply.net
ServerAlias sunlightsupply.org www.sunlightsupply.org
ServerAlias sunlightsupplyinc.com www.sunlightsupplyinc.com
(...etc)

	Is this correct, or am I missing something?


 Edit httpd.conf for that VirtualHost.  Easy way to find
 > >the line # is
 >to do:
 >...snip...
 >Add the following lines below the existing ServerAlias line:
 >ServerAlias domain2.tld www.domain2.tld
 >ServerAlias domain3.tld www.domain3.tld
 > >


Patrick Beart
--
-------------------------------------------------------------------
patrick@xxxxxxxxxxxxxxxxxxx       503-558-8322      Clackamas(Portland), OR
Web Architecture:   http://www.WebArchitecture.com
Intelligent Internet consulting, site development, and hosting solutions since 1994

iWeb4Biz: Internet hosting for businesses   http://www.iWeb4Biz.com/
 -------------------------------------------------------------------