Re: Cannot access my first web app(Resolved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Erick:

I knew it was something really easy but I couldn't see it.

Setting in the hosts file my Servername ===> rafael.muneton.com along with the IP address ===> 192.168.1.64  solved the problem.
And now it works just fine and very fast.

Thanks again.
Rafael

When everything fails,  read the instructions!

--- On Sat, 4/3/10, Eric Covener <covener@xxxxxxxxx> wrote:

From: Eric Covener <covener@xxxxxxxxx>
Subject: Re: Cannot access my first web app(partially resolved)
To: users@xxxxxxxxxxxxxxxx
Date: Saturday, April 3, 2010, 12:44 PM

On Sat, Apr 3, 2010 at 1:35 PM, Rafael Muneton <rafael_muneton@xxxxxxxxx> wrote:
>
> Finally I could access my web app from another machine in my local network.
> This is what I did:
>
> In my apache configuration file, I changed the following line,
>
> Before    ====>  Listen 8080
>
> After      ====>  Listen 192.168.1.64:8080
>

So something else is listening on port 8080 on some of your interfaces.

> and now I can access my we app by typing,
>
> http://192.168.1.64:8080/cambifon/indice.pl
>
> But I would like to access my app using the servername directive, I mean using something like,
>
> http://rafael.muneton.com:8080/cambifon/indice.pl
>

Your browser will resolve rafael.muneton.com to an IP adddress,
presumably something other than 192.168.1.64. You could mock up your
/etc/hosts file to resolve it that way.

> and it just doesn't work.

DNS lookup fails? Hits another webserver?   Connection refused?


> Within my apache configuration file the ServerName directive is set to 'rafael.muneton.com'
> What am I doing wrong?????
> Thanks for your help.

That just tells Apache its own name, it doesn't help your browser find
your webserver.


--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux