hello sir

thanks for showing interest on my doubts

but  whole thing  that i have done , with local  linux lab its not live
servers.

i still can't understand y apache not showing my default page ?

it only showing my virtual host page



On Sat, Jun 13, 2009 at 3:13 PM, unni krishnan <[email protected]>wrote:

> Hello Anish,
>
>  I am not able to recreate the problem from my end because :
>
> 1. I am getting the page for ipsr when accessing http://www.ipsr.org/,
> unlike you told that it will show "hello this is virtual host".
>
> 2. The second subdomain ns1.ipsr.org is not resolving.
>
>  These are my guess related to this problem.
>
> There is only one VirtualHost entry for the IP address to which the
> sub/domains ns1.ipsr.org and www.ipsr.org are pointing. So when you
> accessing ns1.ipsr.org and www.ipsr.org you will get the content of
> the DocumentRoot in that VirtualHost entry.
>
> Do you have a VirtualHost entry for ns1.ipsr.org ?
>
> Apache will ignore the DocumentRoot outside the VirtualHost entry, if
> there is one for that IP address. So create one Vhost entry for
> ns1.ipsr.org.
>
> Also Aache will show the content of the Vhost entry just below the
> NameVirtualHost for the IP address, if there is no Vhost for the
> domain/subdomain. So my best guess is that there is no Vhost for
> ns1.ipsr.org.
>
> On Sun, Jun 14, 2009 at 12:18 AM, Anish Shah<[email protected]>
> wrote:
> > hello sir
> >
> > i hope u r fine .
> >
> > sir i want to ask u one question related  Apache Server.
> >
> > sir my dns server is   ns1.ipsr.org ,
> >
> > sir   my apache server is   ns1.ipsr.org and document root is
> /var/www/html
> > , here i made index.html
> > ( that contents Hello This Is Apache Server )
> >
> > my  Virtual Host is   www.ipsr.org , and document root is
> > /var/www/www.ipsr.org and here i made
> >
> > index.html.( that contents  hello this is virtual host )
> >
> > when i  open  http://www.ipsr.org  it shows me perfect page it means (
> > hello this is virtual host )
> >
> > But  when i open  http://ns1.ipsr.org  it still shows me   (   hello
> this is
> > virtual host )
> >
> > instead  of  my original contents ( Hello This Is Apache Server )
> >
> >
> > So please help me how to resolve this problem ?
> >
> >
> > Thanks & Regards
> > Anish J Shah
> > mob-9979461192
> >
> > _______________________________________________
> > ILUG Cochin Mailing List
> > http://ilug-cochin.org/mailman/
> > [email protected]
> > http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> > #[email protected]
> >
> >
>
>
>
> --
> ---------------------
> With regards,
> Unni
>
> "A candle loses nothing by lighting another candle"
>
> _______________________________________________
> ILUG Cochin Mailing List
> http://ilug-cochin.org/mailman/
> [email protected]
> http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
> #[email protected]
>



-- 
Thanks & Regards
Anish J Shah
mob-9979461192
_______________________________________________
ILUG Cochin Mailing List
http://ilug-cochin.org/mailman/
[email protected]
http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to