I am able to do with 'NameVirtualHost *'. I can't specify IP number because I don't have fix IP and am using Dynamic DNS Service provided by http://www.dyndns.org.

For details check - http://www.dyndns.org/support/kb/apachevhosts.html

Master_PE writes:

>>>
>>> <VirtualHost *>
>>> DocumentRoot "/var/www/html/test1"
>>> ServerName nstest1.homedns.org
>>> DirectoryIndex index.html index.php index.htm
>>> </VirtualHost>
>>>
>>> <VirtualHost *>
>>> DocumentRoot "/var/www/html/test2"
>>> ServerName nstest2.homedns.org
>>> DirectoryIndex index.html index.php index.htm
>>> LogLevel debug
>>> </VirtualHost>

NameVirtualHost *


Doesn't NameVirtualHost need a IP number?

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to