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

Re: multiple domains



This is an Apache issue.
 
# If you want to use name-based virtual hosts you need to define at
# least one IP address (and port number) for them.
#
NameVirtualHost 12.34.56.78:80
 
Then, below that, all the domains that respond to that virtual host are called out like this:
 
<VirtualHost 12.34.56.78>
ServerName www.domainname.com
ServerAlias domainname.com
DocumentRoot /path/to/htdocs/domainname
</VirtualHost>
 
Sometimes, the entry is
 
<VirtualHost 12.34.56.78:80>
 
Mike
 
----- Original Message -----
From: Don
Sent: Monday, September 30, 2002 2:08 PM
Subject: multiple domains

how would one address the issue of having a single IP assigned to a server and have it answer to multiple domain names [red hat 7.2]
 
I have looked thru the how-to's and did not find anything , maybe I missed it?
 
regards
Don

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