Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Location
    Prague, Czech Republic (EU)
    Posts
    64

    Apache virtual conf and special conf for one

    Hi,
    I have apache configured as virtualdocument root, for example reques for www.domain.com goes to /hosts/domain.com/www, but now I need special config for my client, he want 3 domains to one space, I don`t know what to do .)

    Can anyone help ?
    [[email protected]:~]#

  2. #2
    Are you talking about taking 3 domains and pointing them to the same site?

    All u have to do is create 2 more virtual hosts, and set them to the same directory.

  3. #3
    Join Date
    Oct 2004
    Location
    Dallas, Texas
    Posts
    170
    Or just add a the following to the existing vhost config and make sure DNS is pointed to the same IP.

    ServerAlias domain.com www.domain.com
    ServerAlias domain2.com www.domain2.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •