Re: [users@httpd] Accessing my website internally

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

 



On 7/18/05, Robert Zagarello <bzag0@xxxxxxxxx> wrote:

> > I have several virtual host entries and to access
> > them I have to go out to
> > my ISP and back.  I turn off my port forwarding and
> > access is shut off.  I
> > understand this.  The default virtual host, which is
> > the first host, does
> > respond. Locally I type xxx.xxx.xxx.xxx:1100 and I
> > see my apps that are
> > internal only. All of this is correct so far but I
> > want to turn off outside
> > connection still have my other virtuals.  I have
> > tried my host file but
> > this does not work.

You need to add entries to the host file of the PC you are using to
connect to the server. Have you tried this?

Basically, if your hosts' internal address is 192.168.0.1, and your
virtual servers are site1.mydomain.com and site2.mydomain.com, you
will need the following in your hosts file (on your PC)
192.168.0.101      site1.mydomain.com site2.mydomain.com

Then point your browser at site1.mydomain.com or site2.mydomain.com...

Krist

-- 
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

---------------------------------------------------------------------
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