hello sir<br><br>thanks for showing interest on my doubts<br><br>but  whole thing  that i have done , with local  linux lab its not live servers.<br><br>i still can&#39;t understand y apache not showing my default page ?<br>
<br>it only showing my virtual host page <br><br><br><br><div class="gmail_quote">On Sat, Jun 13, 2009 at 3:13 PM, unni krishnan <span dir="ltr">&lt;<a href="mailto:unnikrishnan.a@gmail.com">unnikrishnan.a@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Anish,<br>
<br>
  I am not able to recreate the problem from my end because :<br>
<br>
1. I am getting the page for ipsr when accessing <a href="http://www.ipsr.org/" target="_blank">http://www.ipsr.org/</a>,<br>
unlike you told that it will show &quot;hello this is virtual host&quot;.<br>
<br>
2. The second subdomain <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> is not resolving.<br>
<br>
  These are my guess related to this problem.<br>
<br>
There is only one VirtualHost entry for the IP address to which the<br>
sub/domains <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> and <a href="http://www.ipsr.org" target="_blank">www.ipsr.org</a> are pointing. So when you<br>
accessing <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> and <a href="http://www.ipsr.org" target="_blank">www.ipsr.org</a> you will get the content of<br>
the DocumentRoot in that VirtualHost entry.<br>
<br>
Do you have a VirtualHost entry for <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> ?<br>
<br>
Apache will ignore the DocumentRoot outside the VirtualHost entry, if<br>
there is one for that IP address. So create one Vhost entry for<br>
<a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a>.<br>
<br>
Also Aache will show the content of the Vhost entry just below the<br>
NameVirtualHost for the IP address, if there is no Vhost for the<br>
domain/subdomain. So my best guess is that there is no Vhost for<br>
<a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a>.<br>
<div><div></div><div class="h5"><br>
On Sun, Jun 14, 2009 at 12:18 AM, Anish Shah&lt;<a href="mailto:anish.shah1985@gmail.com">anish.shah1985@gmail.com</a>&gt; wrote:<br>
&gt; hello sir<br>
&gt;<br>
&gt; i hope u r fine .<br>
&gt;<br>
&gt; sir i want to ask u one question related  Apache Server.<br>
&gt;<br>
&gt; sir my dns server is   <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> ,<br>
&gt;<br>
&gt; sir   my apache server is   <a href="http://ns1.ipsr.org" target="_blank">ns1.ipsr.org</a> and document root is  /var/www/html<br>
&gt; , here i made index.html<br>
&gt; ( that contents Hello This Is Apache Server )<br>
&gt;<br>
&gt; my  Virtual Host is   <a href="http://www.ipsr.org" target="_blank">www.ipsr.org</a> , and document root is<br>
&gt; /var/www/<a href="http://www.ipsr.org" target="_blank">www.ipsr.org</a> and here i made<br>
&gt;<br>
&gt; index.html.( that contents  hello this is virtual host )<br>
&gt;<br>
&gt; when i  open  <a href="http://www.ipsr.org" target="_blank">http://www.ipsr.org</a>  it shows me perfect page it means (<br>
&gt; hello this is virtual host )<br>
&gt;<br>
&gt; But  when i open  <a href="http://ns1.ipsr.org" target="_blank">http://ns1.ipsr.org</a>  it still shows me   (   hello this is<br>
&gt; virtual host )<br>
&gt;<br>
&gt; instead  of  my original contents ( Hello This Is Apache Server )<br>
&gt;<br>
&gt;<br>
&gt; So please help me how to resolve this problem ?<br>
&gt;<br>
&gt;<br>
&gt; Thanks &amp; Regards<br>
&gt; Anish J Shah<br>
&gt; mob-9979461192<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; ILUG Cochin Mailing List<br>
&gt; <a href="http://ilug-cochin.org/mailman/" target="_blank">http://ilug-cochin.org/mailman/</a><br>
&gt; <a href="mailto:Mailinglist@ilug-cochin.org">Mailinglist@ilug-cochin.org</a><br>
&gt; <a href="http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org" target="_blank">http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org</a><br>
&gt; #<a href="mailto:ilugkochi@irc.freenode.org">ilugkochi@irc.freenode.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
---------------------<br>
With regards,<br>
Unni<br>
<br>
&quot;A candle loses nothing by lighting another candle&quot;<br>
<br>
_______________________________________________<br>
ILUG Cochin Mailing List<br>
<a href="http://ilug-cochin.org/mailman/" target="_blank">http://ilug-cochin.org/mailman/</a><br>
<a href="mailto:Mailinglist@ilug-cochin.org">Mailinglist@ilug-cochin.org</a><br>
<a href="http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org" target="_blank">http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org</a><br>
#<a href="mailto:ilugkochi@irc.freenode.org">ilugkochi@irc.freenode.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards<br>Anish J Shah<br>mob-9979461192<br>