RE: Virtual Hosts with one public IP

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

 



> -----Original Message-----
> From: shrike-list-admin@xxxxxxxxxx 
> [mailto:shrike-list-admin@xxxxxxxxxx] On Behalf Of Eduardo Alfonso 
> Sent: Saturday, October 11, 2003 10:45 PM
> To: shrike-list@xxxxxxxxxx
> Subject: Virtual Hosts with one public IP
> 
> 
> Hi List
> 
> I'm trying to configure virtual hosts in apache..
> 
> I have just one public IP address and no domain name.
> 
> I want to know if it's possible to configure virtual hosts 
> having this setup.  I mean, is it possible to 
> configure different virtual hosts with just one ip address 
> and no domain name to access different 
> services ??
> 
> How Could it be ?
> 
> I tried something like this but, never resolved the 
> "test.209.21.117.219" address
> 
> 
> NameVirtualHost 209.21.117.219
> 
> <VirtualHost 209.21.117.219>
>         ServerName test.209.21.117.219
>         DocumentRoot /home/httpd/html/test
> </VirtualHost>
> 
> 
> Any ideas??,  is it possible ??, any network configuration 
> required outside apache ?
> 
> Thanks a lot !
> 
> SIZE does matter - The UK's biggest *Free* Web based mail - 
> 10 MB Free 
> mail.lycos.co.uk
> 
> 

I'm assuming you want this for public use. AFAIK, you can't do this.
For the address to resolv, it would have to be in dns, and I'm pretty
sure you can't do this in dns.

What I've done in the past for clients who don't want to get a FQDN,
is instead of test.209.21.117.219, make it 209.21.117.219/test, and in
the test directory put a symbolic link to the directory where you have
the files.

You won't need any virtual hosts then.


Jake


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux