IP/Hostname Virtual Host

This is a discussion on IP/Hostname Virtual Host within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, Is there a way I can create a virtual host based on a DYNAMIC IP and hostname? In other ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2003
keseko
 
Posts: n/a
Default IP/Hostname Virtual Host

Hello,

Is there a way I can create a virtual host based on a DYNAMIC IP and
hostname? In other words, I want to redirect people who connect to my
site with my IP address (e.g. http://62.252.64.3) or its hostname
(e.g. http://a553e3.25sv543ca.myisp.com). If you are curious to know
why I want this, the reason is that I only want people who know my
domain to access my Web site, and to restrict access to those who
lookup my IP or hostname on IRC, IM, etc.

I know how to create virtual hosts, but my problem is that my
IP/hostname is dynamic so it changes.

If this is done without virutal hosts, please let me know, because I
can't think of anything else.

Thank you.
  #2 (permalink)  
Old 07-14-2003
davide@yahoo.com
 
Posts: n/a
Default Re: IP/Hostname Virtual Host

keseko <keseko2000@yahoo.com> wrote:
> Is there a way I can create a virtual host based on a DYNAMIC IP and
> hostname?


And how do you plan to distinguish the various Virtual Hosts then?
If you point your browser to http://the.ip.address.here/ you'll get
everytime the same VHost. If you just need to have your system
available, just do not specify a ServerName in the general part of
the httpd.conf and you'd be ready to roll.

Davide
  #3 (permalink)  
Old 07-15-2003
mike
 
Posts: n/a
Default Re: IP/Hostname Virtual Host

https://www.dyndns.org/account/index.html

here is your fix :)
just set up a domain .. set default server to redirect to some other site.
ex. myircsite.kicks-ass.net will go to site A. you tell the ppl who you want
to go to your site the url.
anyone looking up your ip or isp's domain will not go to that site, but will
go to the default web site. which you can redrect to anywhere you want.




"keseko" <keseko2000@yahoo.com> wrote in message
news:49c39d61.0307141006.3f039646@posting.google.c om...
> Hello,
>
> Is there a way I can create a virtual host based on a DYNAMIC IP and
> hostname? In other words, I want to redirect people who connect to my
> site with my IP address (e.g. http://62.252.64.3) or its hostname
> (e.g. http://a553e3.25sv543ca.myisp.com). If you are curious to know
> why I want this, the reason is that I only want people who know my
> domain to access my Web site, and to restrict access to those who
> lookup my IP or hostname on IRC, IM, etc.
>
> I know how to create virtual hosts, but my problem is that my
> IP/hostname is dynamic so it changes.
>
> If this is done without virutal hosts, please let me know, because I
> can't think of anything else.
>
> Thank you.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0