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

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



Folks:

I never did get an answer to this, so I'm reposting in case the issue was overlooked by anyone who might know.

I have clients that have an average of 4 secondary domain names (permutations of their primary/main domain name), and I just create the accounts for each name. For example, "Company.com" is primary, but "Company.net" is also setup with it's own account. Am I creating work for myself by doing this?

Is the process, (Steven's below), BETTER than just creating the other domain names as accounts and using an HTML "redirect" page for any "secondary" domain names?


At 12:25 PM -0400 8/25/00, Steven Werby wrote:
...snip...
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:
...snip...
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.


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/
 -------------------------------------------------------------------