Forum Moderators: phranque
i implemented more than 1 domain on my apache web serve. Each domain got 1 IP address. I used <virtualhost>s to distinguish those domains as below :
<VirtualHost 220.123.123.1>
ServerName : 202.123.123.1
DocumentRoot "c:/public_html/domain1"
ServerAdmin : ....
</VirtualHost>
<VirtualHost 220.123.123.2>
ServerName : 202.123.123.2
DocumentRoot "c:/public_html/domain2"
ServerAdmin : ....
</VirtualHost>
My question is Do i need to state the ServerName out of the <virtualhost> tag? When i tried not stating the ServerName outside the <virtualhost> tag, the SSL server does not work. Since i have more than one domain, semantically, which ServerName should i state?
Try using this:
ServerName www.domain2.com (this is for your second domain)
ServerName www.domain1.com (this is for your 1st domain)
[edited by: jdMorgan at 1:23 am (utc) on Sep. 9, 2005]
[edit reason] Plain engish for an international forum, please. [/edit]