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:
>>>
>>>
>>> DocumentRoot "/var/www/h
> >>>
> >>>
> >>> DocumentRoot "/var/www/html/test1"
> >>> ServerName nstest1.homedns.org
> >>> DirectoryIndex index.html index.php index.htm
> >>>
> >>>
> >>>
> >>> DocumentRoot "/var/www/html/test2"
> >>> ServerName nstest2.homedns.org
> >>> DirectoryIndex index.html index.php index.htm
> >>>
Thanks!
This seem to have resolved the issue.
Now I am able to access both homepages from both - inside as well as outside
the network.
Many thanks!
Regards,
- Nilesh
Jim Limmer writes:
OK.
I had this same problem when using the default install of apache on RH 8.0
it seems its enabl
OK.
I had this same problem when using the default install of apache on RH
8.0 it seems its enabling SSL sites by default. If you are not planning
on using this,
go into /etc/httpd/conf.d
and get rid of ssl.conf - copy it someplace else in case you want to use
it again at a later time.
resta
Hi Jim,
My IP address is dynamic - so I guess it is not possible to put IP
address instead of * as you suggested. Am I right?
I tried changing to .
When I do that, upon trying to access http://nstest1.homedns.org, I get
error:
Quote
Bad Request
Your browser sent a request that this server co
Change it so it looks like this
DocumentRoot "/var/www/html/test1"
ServerName nstest1.homedns.org
DirectoryIndex index.html index.php index.htm
DocumentRoot "/var/www/html/test2"
ServerName nstest2.homedns.org
DirectoryIndex index.html index.php index.htm
LogLevel debug
the directive in the vi
Nilesh Sahita wrote:
> When I access http://nstest1.homedns.org, I serves up
> test1/index.html - which is what I expected. However, when I access
> http://nstest2.homedns.org, it serves up test1/index.html instead of
> test2/index.html.
Are you accessing the sites inside a local network? Some r
Hi,
I am trying to run two domains on one Apache domain.
The system config is: RH9, Apache 2.0.40
I setup two domains - nstest1.homedns.org and nstest2.homedns.org
In Apache configuration, I create two virtual servers - the entries from
httpd.conf are:
Quote
...
NameVirtualHost *
Document