Forum Moderators: bakedjake
ive got a tld .. which is confdev.com
and another website which is pewd.hopto.org i want them to be different sites.. but i try following what apache says and it fails .. anyone think they can help me?
First set the IP to use..
An example of a setup behind a firewall:
NameVirtualHost 192.168.1.2
This is one way to set up the domains...
<VirtualHost 192.168.1.2>
DocumentRoot /www/domain1.com
ServerName domain1.com
ErrorLog /www/logs/domain1.com-error_log
CustomLog /www/logs/domain1.com-access_log common
</VirtualHost>
<VirtualHost 192.168.1.2>
DocumentRoot /www/domain2.com
ServerName domain2.com
ErrorLog /www/logs/domain2.com-error_log
CustomLog /www/logs/domain2.com-access_log common
</VirtualHost>